Your message dated Mon, 12 Feb 2007 13:10:10 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#409179: DASH: Settings IFS=$'\n' doesn't work properly
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: dash
Version: 0.5.3-6
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...
--
Ing. A.C.J. van Amersfoort (Arno)
Department Of Electronics (ELD, k1007)
Huygens Laboratory
Leiden University
P.O. Box 9504
Niels Bohrweg 2
2333 CA Leiden
The Netherlands
----------------------------------------------------------------
Phone : +31-(0)71-527.1894 Fax: +31-(0)71-527.5819
E-mail: [EMAIL PROTECTED]
----------------------------------------------------------------
Arno's (Linux firewall) homepage: http://rocky.eld.leidenuniv.nl
--- End Message ---
--- Begin Message ---
On Wed, Jan 31, 2007 at 01:42:14PM +0000, Gerrit Pape wrote:
> 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='
> '
> $
Closing. Thanks, Gerrit.
--- End Message ---