Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!engage!ynotme.enet.dec.com!wallace From: wallace@ynotme.enet.dec.com (Ray Wallace) Newsgroups: comp.unix.shell Subject: Re: :t modifier in tcsh and csh Message-ID: <1991Jun12.204347.2932@engage.pko.dec.com> Date: 12 Jun 91 20:41:18 GMT Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon) Organization: Digital Equipment Corporation Lines: 12 In article <10186@star.cs.vu.nl>, mgemmel@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@oldtmr.enet.dec.com (UUCP) ...!decwrl!oldtmr.enet!wallace (INTERNET) wallace%oldtmr.enet@decwrl.dec.com ---