[comp.unix.questions] sh built-in quirk

maart@cs.vu.nl (Maarten Litmaath) (07/08/89)

$ foo=bar date > /dev/null
$ echo $foo

$ zork=mids echo $zork > /dev/null
$ echo $zork
mids
$

This is definitely a bug: there should be no difference between the behavior
of normal commands and that of built-in commands. Otherwise a shellscript
assuming `date' is a non-built-in command, might someday fail mysteriously.
-- 
"I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam:
   they're small."  (Stephen Savitzky)    |maart@cs.vu.nl, mcvax!botter!maart