neatvi

[fork] simple vi-type editor with UTF-8 support
git clone git://src.adamsgaard.dk/neatvi # fast
git clone https://src.adamsgaard.dk/neatvi.git # slow
Log | Files | Refs | README Back to index

v17.sh (227B)


      1 # vi commands
      2 echo    ":e $1"
      3 echo    "iabc"
      4 echo    "odef"
      5 echo    "oghi"
      6 echo    "/^/"
      7 echo    "NxnP/$/"
      8 echo    "xNp"
      9 echo    ":w"
     10 echo    ":q"
     11 
     12 # the expected output
     13 echo    "abc" >&2
     14 echo    "efi" >&2
     15 echo    "dgh" >&2