[Chicago-talk] Best perl editor on Linux?

Andy Lester andy at petdance.com
Sun Jan 25 12:56:29 CST 2004


> Hey Andy, how did you do that thing where you shelled out of VIM and ran a
> unix command against your file?

   :%!command

% means "all lines in a file"

If you have lines hilighted, the : will turn into

   :'<,'>

and you just type the !whatever.

In general, "!" means "shell out" in Unix.

xoa

-- 
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance



More information about the Chicago-talk mailing list