:t modifier in tcsh and csh

Martin Gemmel mgemmel at cs.vu.nl
Wed Jun 12 23:29:43 AEST 1991


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)

Martin
--
Uhm... Martin Gemmel



More information about the Comp.unix.shell mailing list