bug-bash
[Top][All Lists]
Advanced

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

Re: IFS handling and read


From: Antonio Macchi
Subject: Re: IFS handling and read
Date: Tue, 01 Dec 2009 09:35:20 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Юрий Пухальский wrote:
Good day!

Theres is a problem with a following code:

echo a:b|IFS=: read a b; echo $a


this seems work

$ echo "a:b" | { IFS=":" read a b; echo $a; }
a

reply via email to

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