: t modifier in tcsh and csh

Matt Day mday at icon.com
Thu Jun 13 09:55:34 AEST 1991


In article <10186 at star.cs.vu.nl> mgemmel at cs.vu.nl (Martin Gemmel) writes:
>I have a script, called bin/script, which looks like:
>echo $0:t
>
>Doing  'csh -f bin/script' yields: 'bin/script:t'
>Doing 'tcsh -f bin/script' (correctly) yields: 'script'
>
>Csh clearly doesn't do the Right Thing, but why?
>(tcsh is version 5.18)

Looks like yet another csh bug, one that isn't fixed in Tahoe 4.3BSD.  If
you want the hundreds of dinky csh bugs like this to go away, plus lots of
nice extensions, then use tcsh (FTP from tesla.ee.cornell.edu).
-- 
- Matt Day, Sanyo Icon R&D, mday at icon.com



More information about the Comp.unix.shell mailing list