Vim, lol

ponto ~ $  echo "hello world" > lol.txt
ponto ~ $  vim -c “+s/hello/vim” -c “+wq” lol.txt
ponto ~ $  cat lol.txt
vim world

lol, funciona.

ps: aparentemente o ‘-c’ não é necessário.

Leave a Reply »»

Except where otherwise noted, content on this site is licensed under a Attribution 2.5 Portugal License