Interesting Bourne shell usage,
ajs at hpfcla.UUCP
ajs at hpfcla.UUCP
Wed May 23 13:07:00 AEST 1984
> Another note on this is that /bin/sh forks off a process to do
> the for loop when directing its output to a pipe; ksh doesn't.
> This feature, and builtins for echo and expr considerably speed
> up shell script execution in ksh.
Yes, and Bourne shell users beware: That "invisible fork" can lead to
some real confusion, if you modify a shell variable within a
meta-construct which is redirected. Don't expect the value to be
correct after the end of the construct!
Looking forward to ksh,
Alan Silverstein
More information about the Comp.unix
mailing list