Date: Tue, 7 May 2002 14:59:45 +0100 (BST) From: jason+freebsd@kanda.com To: shubhamr <shubhamr@malkauns.nsc.com> Cc: "questions@FreeBSD.ORG" <questions@freebsd.org> Subject: Re: coments in freebsd Message-ID: <20020507145846.F67080-100000@uk2.kanda-systems.net> In-Reply-To: <20020507145015.R67080-100000@uk2.kanda-systems.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020507145846.F67080-100000>