what's the use of "{ list }" in /bin/sh?

John F. Haugh II jfh at rpp386.UUCP
Sat Jul 9 10:44:29 AEST 1988


In article <Jul.7.21.58.09.1988.29598 at topaz.rutgers.edu> ron at topaz.rutgers.edu (Ron Natalie) writes:
>> Besides obvious uses mentioned in previous articles thus far,
>> recent Bourne shells allow a rudimentary aliasing using "{" and "}".
>
>Rudimentary?  Shell functions are much more powerful and straight
>forward that the Csh alias kluding.

this is a silly religious war.  both the bourne shell and the cshell
are capable of the same order of computation (turing machine macros in
cshell anyone ??? ;-)

to increase the complexity of a cshell alias, source a cshell script.

- john.
-- 
John F. Haugh II                 +--------- Cute Chocolate Quote ---------
HASA, "S" Division               | "USENET should not be confused with
UUCP:   killer!rpp386!jfh        |  something that matters, like CHOCOLATE"
DOMAIN: jfh at rpp386.uucp          |             -- with my apologizes



More information about the Comp.unix.questions mailing list