On 09/07/11 05:36, Si St wrote:
I am trying something like this to recode several ot many files:
:args ./*
:while
:argdo
:1,$ !recode lat1...utf8
:update
:next
:endwhile
I am familiar with the argdo set ff=unix | update
but I do not know how to make the first example work
I suspect you want something like
:argdo exec "%!recode lat1...utf8" | update
because the ":{range}!" command assumes that a "|" gets passed to
the shell command/pipeline.
:help :range!
:help :bar
-tim
--
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