Newsgroups: comp.unix.shell
Path: utzoo!utgpu!jmason2
From: jmason2@gpu.utcs.utoronto.ca (Jamie Mason)
Subject: Re: : t modifier in tcsh and csh
Message-ID: <1991Jun13.025010.12679@gpu.utcs.utoronto.ca>
Organization: University of Toronto Computer Services Advisor
References: <1991Jun12.204347.2932@engage.pko.dec.com>
Date: Thu, 13 Jun 1991 02:50:10 GMT

In article <1991Jun12.204347.2932@engage.pko.dec.com> wallace@ynotme.enet.dec.com (Ray Wallace) writes:
>
>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.

	Actually, you *can* use the : modifiers on positional varaibles.
Just not on $0.  This is a bug, and an obnoxioius one at that.  (Since $0 
tends to inculde a full path from the sematics of '#!', and so tends to
be the positional parameter you are *most* likely to want to ':t'.

Jamie  ...  Segmentation fault (core dumped)
Written On  Wednesday, June 12, 1991  at  10:46:09pm EDT
