On Wed, Jan 31, 2007 at 02:18:03PM +0100, Arno van Amersfoort wrote:
> I ran into a problem after upgrading my system to testing last week, 
> causing one of my scripts not to work anymore. During installation I let 
> the installer redirect sh to dash. Although it is POSIX compliant (as 
> far as I know) it doesn't work properly. This was caused by the fact the 
> dash doesn't understand that setting IFS=$'\n' means that the seperator 
> is EOL. Instead dash just sees it as IFS='n' . I think it's a bug, 
> although not sure...

Hi, a IFS=$'\n' syntax isn't specified in POSIX, you should set it this
way:

$ IFS='
'
$ 

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to