From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ben.britain.eu.net ([192.91.199.254]) by hawkwind.utcs.toronto.edu with SMTP id <2699>; Mon, 16 Aug 1993 12:31:17 -0400 Received: from a.gec-epl.co.uk by ben.britain.eu.net via PSS with NIFTP (PP) id ; Mon, 16 Aug 1993 17:30:19 +0100 Received: by zombie. (5.0/SMI-SVR4) id AA13738; Mon, 16 Aug 93 17:30:19 BST Date: Mon, 16 Aug 1993 12:30:19 -0400 From: steve@gec-epl.co.uk (Steve_Kilbane) Illegal-Object: Syntax error in Message-Id: value found on hawkwind.utcs.toronto.edu: Message-Id: <9308161630.AA13738@zombie.> ^-illegal subdomain in domain To: broman Subject: Re: How to edit filenames in rc scripts without sed Cc: rc@hawkwind.utcs.toronto.edu X-Sun-Charset: US-ASCII Message-ID: <19930816163019.T2BegHK1D-h1xr1WdahTwauJ2rONUDhCokkN8rs2vDc@z> For the (vaguely frequent) mv and cp commands, i use specialised commands that allow wildcards, called 'move' and 'copy': ; mv '*.c' '*.c.old' for anything else, i'm into the once-per-month-if-that kind of command, and using sed's quicker than thinking about it:-). steve