csh programming problem
Jonathan I. Kamens
jik at athena.mit.edu
Thu Mar 15 14:25:05 AEST 1990
In article <SCOTT.90Mar14212616 at oswy.cs.odu.edu>, scott at cs.odu.edu
(Scott Yelich)
writes:
> >I am trying to write a shell script that takes several arguments and
> >passes them to child processes, i.e.
> >#!/bin/csh
> >...
>
> foo "$@"
> bar "$@"
Notice that he was talking about a *C shell* script.
$@ is a *bourne shell* construct. It doesn't work in the C shell.
Jonathan Kamens USnail:
MIT Project Athena 11 Ashford Terrace
jik at Athena.MIT.EDU Allston, MA 02134
Office: 617-253-8495 Home: 617-782-0710
P.S. Any particular reason why your signature contained almost an entire
page full of blank lines?
More information about the Comp.unix.wizards
mailing list