Article View: news.software.nntp
Article #55571Re: Is there a hack to support paswords that contain spaces?
From: Russ Allbery
Date: Sun, 09 Dec 2001 20:23
Date: Sun, 09 Dec 2001 20:23
26 lines
2192 bytes
2192 bytes
Andrew <andrew+nonews@supernews.com> writes:
> Russ Allbery wrote:
>> The right thing to do is probably to pass every function both the raw
>> command line and the Argify'd command line in case it needs the raw
>> one; that way nothing has to be special-cased but there isn't massive
>> code duplication. Still kind of ugly, though.
> You'll find that this is a pain, because you've probably argified the
> original command line in place by nulling out the whitespace. (Ok, so I
> haven't looked at INN's nnrpd much lately so I'm guessing.)
Hm. Yeah, good point.
> Perhaps an even better solution would be to use a number instead of that
> flag, giving the number of words to argify, with any remaining text left
> as the last argument.
That may be a better solution.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylzo4scfce.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<9urfpi$7vi$1@teta.doit.wisc.edu> <ylwuzybpvz.fsf@windlord.stanford.edu> <1007846386.132947@ok-corral.gunslinger.net> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <ylzo4t2fci.fsf@windlord.stanford.edu> <slrna16ao4.23i3.andrew+nonews@trinity.supernews.net>Show Full Headers
Complete Article Headers
Message-ID: <ylzo4scfce.fsf@windlord.stanford.edu> Subject: Re: Is there a hack to support paswords that contain spaces? Date: Sun, 09 Dec 2001 20:23:45 +0000 From: Russ Allbery <rra@stanford.edu> References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylwuzybpvz.fsf@windlord.stanford.edu> <1007846386.132947@ok-corral.gunslinger.net> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <ylzo4t2fci.fsf@windlord.stanford.edu> <slrna16ao4.23i3.andrew+nonews@trinity.supernews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1007929425 21265 171.64.13.23 (9 Dec 2001 20:23:45 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)