Date: Sun, 4 Jul 2004 17:51:22 -0500 From: Jon Drews <jon.drews@gmail.com> To: Vulpes Velox <v.velox@vvelox.net> Cc: freebsd-questions@freebsd.org Subject: Re: pattern replacement Message-ID: <8cb27cbf0407041551160a3b@mail.gmail.com> In-Reply-To: <20040704170807.2ea1ec75@vixen42.24-119-122-191.cpe.cableone.net> References: <20040704170807.2ea1ec75@vixen42.24-119-122-191.cpe.cableone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi: Sed is useful for this. Here are some good tutorials on it: Common threads: Sed by example: http://www-106.ibm.com/developerworks/linux/library/l-sed1.html http://www-106.ibm.com/developerworks/linux/library/l-sed2.html http://www-106.ibm.com/developerworks/linux/library/l-sed3.html On Sun, 4 Jul 2004 17:08:07 -0500, Vulpes Velox <v.velox@vvelox.net> wrote: > If I wanted to replace every instance of a pattern in a file with > something, what would I use? >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb27cbf0407041551160a3b>