Subject: strange IFS behaviour in /bin/sh ?
To: None <current-users@netbsd.org>
From: Darren Reed <avalon@caligula.anu.edu.au>
List: current-users
Date: 05/06/2004 18:00:26
Trying this on 2.0_BETA..

# IFS=:
# set `grep root /etc/passwd`
# echo $1
root
# IFS=/
# set /dev/wd1e
# echo $1
 dev wd1e

...is "/" a magical character for IFS ?
Or is there a bug here ?

FreeBSD, Linux, ksh, bash...all seem to behave the same for /dev/wd1e.

Only Solaris gives "dev" for 'echo $1' output.

Darren