I try to launch gvim in ex mode to modify a file on windows XP plateform unsucessfully !

0 views
Skip to first unread message

AAntonio

unread,
Nov 18, 2008, 8:15:47 AM11/18/08
to vim_use
Hello,
I try to launch gvim (version 7.2) in ex mode to modify a file on
windows XP plateform unsuccessfully !
My test:
== file f1.txt ===========
%s/hello/liello/g
write
quit

== file f1.txt =============
hello
hello
coco
hello

Command on cmd windows:
C:\temp> c:\vim\vim72\gvim.exe -e -s f2.txt < f1.txt
After the command in finished, the file f2.txt isn't modified.

I switch on the verbose
C:\temp> c:\vim\vim72\gvim.exe -e -s -V f2.txt < f1.txt
The verbose show:
……..
……..
Recherche de "c:\aa/vimfiles/after\plugin/**/*.vim"
"f2.txt"
"f2.txt" 4 lignes, 27 caractères
Mode Ex activé. Tapez "visual" pour passer en mode Normal.
:
E501: À la fin du fichier
:
E501: À la fin du fichier
…..
…..

Someone could help me please?
Thanks in advance.
Reply all
Reply to author
Forward
0 new messages