Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • Reid Thompson
    ... 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
    Message 1 of 11 , Apr 24, 2012
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.