tv12.sh - neatvi - [fork] simple vi-type editor with UTF-8 support
(HTM) git clone git://src.adamsgaard.dk/neatvi
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
tv12.sh (223B)
---
1 # vi commands
2 echo ":e $1"
3 printf "ia"
4 printf "oab"
5 printf "oabc"
6 printf "0kklllji1"
7 printf "kllji2"
8 printf '$jx'
9 echo ":w"
10 echo ":q"
11
12 # the expected output
13 echo "a" >&2
14 echo "21ab" >&2
15 echo "ab" >&2