Search & Replace Issue
Garrett Cooper
youshi10 at u.washington.edu
Tue Dec 26 21:07:56 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Parv wrote:
> in message <458EDE70.4050008 at 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-----
More information about the freebsd-questions
mailing list