Subject: Re: [PATCH] sh-setup: work around "unset IFS" bug in some shells

From: Andreas Schwab <[email-masked]>
Date: Sat, 08 Dec 2012 10:25:10 +0100

Junio C Hamano <[email-masked]> writes:

> Andreas Schwab <[email-masked]> writes:
>
>> Junio C Hamano <[email-masked]> writes:
>>
>>> +# Similarly for IFS, but some shells (e.g. FreeBSD 7.2) are buggy and
>>> +# do not equate an unset IFS with IFS with the default, so here is
>>> +# an explicit SP HT LF.
>>> +IFS=' 	
>>> +'
>>
>> Trailing whitespace can easily get lost
>
> The comment above the assingment spell the character names out for
> that exact reason.  Honestly, I think

That won't help if you don't look for it.  The loss can easily happen
while you are in a different part of the file.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."