Path: utzoo!utgpu!watmath!watcgl!idallen
From: idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL])
Newsgroups: uw.mfcf.software
Subject: Re: pwsendlogs - look out for itcsh constructs in C shell scripts
Message-ID: <11587@watcgl.waterloo.edu>
Date: 23 Sep 89 21:07:40 GMT
References: <16609@watdragon.waterloo.edu>
Organization: U of Waterloo, Ontario
Lines: 12

> From: "John M. Sellens" 
> | From jmberkley@watnext.waterloo.edu  Thu Sep 21 08:05:40 1989
> | 
> | 	echo "${0:t}: $host - sending files to '$dest'"

Don't try this at home, kids.  Stock C shells are too dumb to apply colon
(":") operators to numeric dollar ("$") variables or environment variables.
ITCSH doesn't have these problems, of course, and lucky for us pwsendlogs
uses itcsh instead of csh.
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 129.97.128.64    Computer Graphics Lab/University of Waterloo/Ontario/Canada