Passer des commandes dès le lancement de vim.
$ vim +356 +s/toto/titi +wq $file.txt (1)
1 | vim starts, loads the file, go to the 356th line, change the 'toto' occurence into 'titi', saves and quits. |
GNU+Linux command memo
Passer des commandes dès le lancement de vim.
$ vim +356 +s/toto/titi +wq $file.txt (1)
1 | vim starts, loads the file, go to the 356th line, change the 'toto' occurence into 'titi', saves and quits. |