I am trying to use this alias in my root .cshrc file:

grep $1 /some/file

but .cshrc _refuses_ to expand $1 as a proper variable (in this case, the first 
argument to the alias...)

I _think_ it's because $1 is being interpreted as a argument to csh _itself_ 
when it runs .cshrc ... but maybe I'm wrong.

Anyway, how to make it work ?

Thanks.


      

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to