is the first +:1 enclosed in ""'s? ---
Regards, Kevin Martin On Wed, Nov 8, 2017 at 4:40 PM, Patrick Dupre <pdu...@gmx.com> wrote: > Hello, > > I would like to execute a vi command as a bash command like: > vi +:1 "+1,$s/E/e/g" "+wq" test.TXT > But it does not work! > > under vi, I would do: > vi test.TXT > :1 > :1,$s/E/e/g > :wq > > could you tell me what I am missing? > > Thank > > > ============================================================ > =============== > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > ============================================================ > =============== > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org >
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org