bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "IFS=: for foo in $FOO:bar:baz; do" doesn't work properly


From: Sven Mascheck
Subject: Re: "IFS=: for foo in $FOO:bar:baz; do" doesn't work properly
Date: 30 Aug 2001 15:49:40 +0200
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))

Jonathan Kamens <address@hidden> wrote:

>         FOO="foo:bar:baz"
>         IFS=:
>         for ac_dir in $FOO:screlt:freeble; do
>             echo $ac_dir
>         done

But IFS is applied to separate _results_ of parameter expansion and
command substitution (and for the read builtin).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]