Where am I (csh)
Mark Komarinski
mkomarinski at wayga.org
Wed Jan 15 14:59:34 EST 2003
On Wed, Jan 15, 2003 at 02:47:56PM -0500, Kevin D. Clark wrote:
> Mark Komarinski <mkomarinski at wayga.org> writes:
>
> > echo "$0" in the script in both irix and linux gives:
> >
> > -tcsh
>
> How about $_ instead of $0 ?
_: undefined variable.
> (I just tested this; it works for me)
>
> Regards,
>
> --kevin
>
> PS It's unclear to me as to why your system is printing out tcsh
> instead of csh.
the system I'm testing on happens to have tcsh installed. But I can't
guarantee that across all machines.
-Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20030115/c288f439/attachment.bin
More information about the gnhlug-discuss
mailing list