From owner-freebsd-questions Tue May 7 5:47:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from uk2.kanda-systems.net (uk2.kanda-systems.net [193.195.117.202]) by hub.freebsd.org (Postfix) with ESMTP id C2FD637B409 for ; Tue, 7 May 2002 05:47:11 -0700 (PDT) Received: from localhost.kanda-systems.net (localhost.kanda-systems.net [127.0.0.1]) by uk2.kanda-systems.net (Postfix) with ESMTP id C9CDB3C405; Tue, 7 May 2002 14:59:45 +0100 (BST) Date: Tue, 7 May 2002 14:59:45 +0100 (BST) From: jason+freebsd@kanda.com X-X-Sender: jason@uk2.kanda-systems.net Reply-To: jason+freebsd@kanda.com To: shubhamr Cc: "questions@FreeBSD.ORG" Subject: Re: coments in freebsd In-Reply-To: <20020507145015.R67080-100000@uk2.kanda-systems.net> Message-ID: <20020507145846.F67080-100000@uk2.kanda-systems.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 7 May 2002 jason+freebsd@kanda.com wrote: I messed that up a bit: > To convert a file: > > cat cfile.c sed "s/\(.*\)\/\/\(.*\)/\1 \/*\2 \*\//" > cfile.c.fixed Should be: cat cfile.c | sed "s/\(.*\)\/\/\(.*\)/\1 \/*\2 \*\//" > cfile.c.fixed > Then: > > mv cfile.c.filed cfile.c Should be: > mv cfile.c.fixed cfile.c Jason ==================================================================== Jason Taylor. Kanda Systems Ltd. Tel: +44/0 1970 621030 Systems Manager. Unit 17 Glanyrafon Fax: +44/0 1970 621040 jason@kanda.com. Enterprise Park. Mobile: +44/0 7976 926918 http://www.kanda.com. Ceredigion, UK http://shop.kanda.com ==================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message