Tuesday, April 24, 2012

Re: How I can run vim commands from a bash script?

On Tue, 2012-04-24 at 05:18 -0700, Antonio Recio wrote:
> Using sed how I can replace this symbol ¦ with tab?
>
> sed -i 's/¦/\t/' *.txt
>

sed -i 's/|/\t/g'

or

perl -p -i.bak -e 's/\|/\t/g'


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: