🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uw.mfcf.software
Article #356

Re: pwsendlogs - look out for itcsh constructs in C shell scripts

#356
From: Ian! D. Allen [CGL]
Date: Sat, 23 Sep 1989 21:07
12 lines
957 bytes
> From: "John M. Sellens" <jmsellens>
> | 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
Technical Details
Message-ID: <11587@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!idallen
References: <16609@watdragon.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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