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

e0f.sh (187B)


      1 # vi commands
      2 echo    ":e $1"
      3 echo    ":a"
      4 echo    "ab "
      5 echo    " e "
      6 echo    "."
      7 echo    ':%s/ *$//g'
      8 echo    ":w"
      9 echo    ":q"
     10 
     11 # the expected output
     12 echo    "ab" >&2
     13 echo    " e" >&2