Date: Tue, 26 Dec 2006 21:07:54 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: Search & Replace Issue Message-ID: <4591FFAA.8020509@u.washington.edu> In-Reply-To: <20061225042334.GA4228@holestein.holy.cow> References: <BAY125-F30049BC3F42C8F2E17BA61CCC30@phx.gbl> <458EDE70.4050008@u.washington.edu> <20061225042334.GA4228@holestein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Parv wrote: > in message <458EDE70.4050008@u.washington.edu>, > wrote Garrett Cooper thusly... >> cat file.html | sed -e "s|http://www.domain.com||g" > ... > > Not really a need for cat(1), just use input redirection ... > > sed -e '...' < file > > > - Parv I just meant in general.. assuming that he used fetch or wget to get the file prior to running the search and replace. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkf+qEnKyINQw/HARAmXQAJ0e40U/nXUeaQ1/rZqCchLHWKctjACfaNN+ 0+6mf+Psoc48hn4C9dhK5iw= =+yCc -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4591FFAA.8020509>