Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Oct 2001 07:19:37 -0700
From:      Greg Shenaut <greg@bogslab.ucdavis.edu>
To:        hackers@FreeBSD.ORG
Subject:   ALT-<sp> (Was: how to make 'for' understand two words as a single argumen)
Message-ID:  <200110021419.f92EJbS06989@thistle.bogs.org>
In-Reply-To: Your message of "Tue, 02 Oct 2001 09:18:43 -0300." <3BB9B0A3.2C5F3ACC@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3BB9B0A3.2C5F3ACC@newsguy.com>, "Daniel C. Sobral" cleopede:
>Stijn Hoop wrote:
>> 
>> > Any way using `` won't work. for i in a "b c" d works, for instance, but
>> > there is not way that I know of that you can control the output this way
>> > using ``.
>> 
>> Yes there is: set IFS to only contain a newline beforehand. That's my local
>> hack, your way is probably better :)
>
>But if you do that, you'll get a single argument back, instead of a
>number of arguments, some of which have space in the middle, or not?

Is there any reason why the "unbreakable space" (0xa0) shouldn't be
the only kind of space character used/allowed in filenames?

Greg Shenaut

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110021419.f92EJbS06989>