[plug] A sed question?

Arie Hol arie99 at ozemail.com.au
Wed Oct 21 15:32:11 WST 2009



Is there a way of using sed to insert a 'backpsace' character ?

I know how to use sed to insert  'tabspace' and 'newline' characters, but 
I can't figure out how to insert a 'backspace' character.

'man sed'     and 'info sed'  don't hold any enlightehment for me.

Online manuals have not shed any light for me either.

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.

Is this possible using sed ???????

The data file is currently  in excess of 1500 lines (and growing) - this 
is too much to do manually.

Normally I would do this with perl, but this task is on a Windows  box 
using GnuUtils for DOS

Any advice will be greatly appreciated.

TIA

Regards Arie
------------------------------------------------------------------
 For the concert of life, nobody has a program.
------------------------------------------------------------------
-------------- next part --------------

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.423 / Virus Database: 270.14.24/2449 - Release Date: 10/20/09 18:42:00


More information about the plug mailing list