|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |