[CLUE-Tech] RE question

Kevin Cullis kevincu at orci.com
Thu Jan 25 20:00:08 MST 2001


Jeff or anyone,

I'm having trouble with REs in sed.  I'd like to substitute 5 spaces
with a tab and I'm having trouble with the RE.  This is what I've tried
with the documentation I've read so far:

sed 's/   */\t/g' AMBASS.2 

This is the result:

t1.tAn ambassador is a high

Where am I going wrong?  I understand that the \t is for horizontal
tabs, but I've tried most everything to get it to work, but it ain't
happin'.

Jeff, I'm curently typing up RE examples which you may want to use in
your KISS session (which I've realized I can't make next month.  If you
want the text file, let me know and we can pass it around for others to
add to the file.

Kevin




More information about the clue-tech mailing list