Hi all,

Need some help with sed:

I have a txt file that contains some 15000 lines, where i want to bring in
some structure.
First is to replace the first (only the first) space in the line with a
<TAB>.
After that I want to delete a given number of characters that always begin
with the same sequence, but may have different contents. Beginning is
always the same, and length to delete is also always the same.

I used sed 's/^ /\t/' txtfile, but I do not get a tab. Besides, this might
do more then just the first space, I guess.

Could someone shed some more light here?



-- 
L. de Braal
BraHa Systems
NL - Terneuzen
T +31 115 649333
F +31 115 649444
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to