Good day!
Theres is a problem with a following code:
echo a:b|IFS=: read a b; echo $a
According to a standard, i expect the field splitting to occur, thus
setting a variable to "a" value. But It doesn't work even with POSIX
option. Other shells i can lay my hands upon (native shells on HP-UX
and AIX of different versions), ksh and zsh work as expected.
(GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu))
——
«The good thing about standards is there are so many to choose from.»