[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Quick substitution question
- Subject: [ale] Quick substitution question
- From: JMTaylor at chathamcounty.org (Jennifer Taylor)
- Date: Wed, 13 Dec 2000 10:25:29 -0500
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.