Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!iconsys!mday From: mday@icon.com (Matt Day) Newsgroups: comp.unix.shell Subject: Re: : t modifier in tcsh and csh Message-ID: <1991Jun12.235534.1861@icon.com> Date: 12 Jun 91 23:55:34 GMT References: <10186@star.cs.vu.nl> Organization: Sanyo Icon Lines: 15 In article <10186@star.cs.vu.nl> mgemmel@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@icon.com