Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 23:23:34 -0500
From:      Parv <parv@pair.com>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Search & Replace Issue
Message-ID:  <20061225042334.GA4228@holestein.holy.cow>
In-Reply-To: <458EDE70.4050008@u.washington.edu>
References:  <BAY125-F30049BC3F42C8F2E17BA61CCC30@phx.gbl> <458EDE70.4050008@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061225042334.GA4228>