diff options
author | Stefan Potyra <stefan.potyra@informatik.uni-erlangen.de> | 2009-08-11 12:46:26 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-11 12:46:26 +1000 |
commit | 55c46b7286f5d9f2d8291158203e2b61d2494420 (patch) | |
tree | f4ea6cd236d953cd196ff85d4a447bcd062a2257 /src/funcs/pushd | |
parent | [EXPAND] Fix quoted pattern patch breakage (diff) | |
download | dash-55c46b7286f5d9f2d8291158203e2b61d2494420.tar.gz dash-55c46b7286f5d9f2d8291158203e2b61d2494420.zip |
[BUILTIN] Honor tab as IFS whitespace when splitting fields in readcmd
When I try to split fields by tabs, dash doesn't honour multiple tabs between fields as whitespace (at least that's how I interpret [1], please correct me if I'm wrong). #!/bin/sh # "1\t2\t\t3" TESTSTRING="1 2 3" # only "\t" IFS=" " echo "$TESTSTRING" | while read p1 p2 p3; do echo "p1=${p1}, p2=${p2}, p3=${p3}" done Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions