Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: csh filename substitution Message-ID: <5708@mimsy.UUCP> Date: Sun, 8-Mar-87 15:59:22 EST Article-I.D.: mimsy.5708 Posted: Sun Mar 8 15:59:22 1987 Date-Received: Mon, 9-Mar-87 04:12:53 EST References: <607@SouthBank.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 13 In article <607@SouthBank.UUCP> lawesn@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@mimsy.umd.edu