/bin/sh seems not to expanding metacharacters in filenames used for
I/O redirection:
$ /bin/sh
$ ls -l
$ touch bbb
$ echo test > b*
$ ls -l
total 2
-rw-r--r-- 1 luigi wheel 5 Mar 16 01:20 b*
-rw-r--r-- 1 luigi wheel 0 Mar 16 01:20 bbb
$
By contrast, csh and bash do the right thing:
bash-2.05a$ ls -l
bash-2.05a$ touch bbb
bash-2.05a$ echo test > b*
bash-2.05a$ ls -l
total 2
-rw-r--r-- 1 luigi wheel 5 Mar 16 01:24 bbb
Is it a feature or a bug ?
cheers
luigi
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message