no save
Assistance
Achat
News

Forum | Linux/Unix
scripter sous VI
superdebutant, le sam. 13 sept. 2003 à 19:48:28
Bonjour
comment c'est y qu'on fait pour scripter vi ?

genre effacer les lignes contenant truc
remplacer les mots toto par titi
et enregistrer le ficier ?

j'ai essaye de faire

vi test.txt << EOT
g/truc/d
s/toto/titi
wq
EOT
mais ca merdoie...
donc j'ai du oublier un truc...


francoispgp
sept. 03
Suivant
REPONSES
francoispgp
sept. 03
francoispgp
sept. 03
superdebutant
sept. 03
superdebutant
sept. 03
francoispgp
sept. 03
Version Web
Réalisé par RedShift
no save