How can I extract sentenses from text documents

Mike Bird mgb-ubuntu at yosemite.net
Thu Dec 22 21:31:24 UTC 2005


On Thu, 2005-12-22 at 13:20, Matt Morgan wrote:
> Can sed cross newlines? I thought it worked strictly within a single
> line (here comes my confession: I've never read the whole book--only
> the parts I needed at specific times :-)).

Yes.  You can append the next line to the pattern space with 'N'
and you can also carry data between lines in the hold space.

--Mike Bird





More information about the ubuntu-users mailing list