[ale] Quick substitution question

Armsby John-G16665 John.Armsby at motorola.com
Wed Dec 13 10:42:32 EST 2000


Got It.  I need to buy that little vi book.

John


-----Original Message-----
From: Jennifer Taylor [mailto:JMTaylor at chathamcounty.org]
To: ale at ale.org
Sent: Wednesday, December 13, 2000 10:25 AM
To: ale at ale.org; John.Armsby
Subject: Re: [ale] Quick substitution question


you're almost there, it would actually be a 
ctrl v and then a tab where you've got your \t

so:
 
%s/###hit ctrl v here, then a tab, which should echo a \I to this space###/|/g 

and you're good to go

<<< Armsby John-G16665 <John.Armsby at motorola.com> 12/13 10:12a >>>
I have a large file which has tab delimited information per line.

Can some blast out a quick vi command to substitute  a pipe | for the tab \t ?

This does not work.... :%s/\t/|/g

I am trying to make this simple for others in my group.  I would prefer not to use perl or awk, etc.  I know they can do it but I am considering those who will follow me here...

thanks,


John 
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list