Wednesday, September 7, 2011

Argdo with shellcommand

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
It will be tested out before I apply it to a production system with many
files.
Otherwise I am familiar with:

:let &termencoding = &encoding
:set encoding=utf-8

--
Si St
sigbj-st@operamail.com

--
http://www.fastmail.fm - A no graphics, no pop-ups email service

--
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: