csh filename substitution

Chris Torek chris at mimsy.UUCP
Mon Mar 9 06:59:22 AEST 1987


In article <607 at SouthBank.UUCP> lawesn at SouthBank.UUCP (Nick Lawes) writes:
>I noticed that there was (according to the csh manual) an operator :s/l/r/
>... I tried (amongst other things): ... mv $i $i:s/st.//
>This replies with a message 'Variable syntax'

(... which is one of the worst messages I have ever seen.  The syntax 
is variable?)

The :s modifier is a *history* modifier.  The only variable modifiers
are h, t, r, q, x: head, tail, root, quote, and quote-except-at-spaces.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	seismo!mimsy!chris	ARPA/CSNet:	chris at mimsy.umd.edu



More information about the Comp.unix.questions mailing list