[plug] A sed question?

Gregory Orange gregory.orange at gmail.com
Wed Oct 21 15:35:35 WST 2009


2009/10/21 Arie Hol <arie99 at ozemail.com.au>:
> Is there a way of using sed to insert a 'backpsace' character ?
> I need this functionality so that I can process the output from a series
> of grep commands which are piped through 'sort' and 'uniq' into a data
> file - but there are many instances where I want/need to append one line
> of the data file to the end of the previous line.

How about finding and replacing the end of line character? $ or \r\n
whatever it works out to be.

I take it installing Perl (e.g. Activestate) for Windows isn't an option?

-- 
Gregory Orange



More information about the plug mailing list