:t modifier in tcsh and csh
Ray Wallace
wallace at ynotme.enet.dec.com
Thu Jun 13 06:41:18 AEST 1991
In article <10186 at star.cs.vu.nl>, mgemmel at cs.vu.nl (Martin Gemmel) writes...
>Doing 'csh -f bin/script' yields: 'bin/script:t'
In csh you can not use the : modifiers on the positional variables. You will
need to assign $0 to another variable and then use :t on that new variable.
---
Ray Wallace
(INTERNET,UUCP) wallace at oldtmr.enet.dec.com
(UUCP) ...!decwrl!oldtmr.enet!wallace
(INTERNET) wallace%oldtmr.enet at decwrl.dec.com
---
More information about the Comp.unix.shell
mailing list