te04.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
---
te04.sh (241B)
---
1 # vi commands
2 echo ":e $1"
3 echo ":a"
4 echo "abc def"
5 echo "."
6 echo ":a"
7 echo "ghi jkl"
8 echo "."
9 echo ":undo"
10 echo ":redo"
11 echo ":w"
12 echo ":q"
13
14 # the expected output
15 echo "abc def" >&2
16 echo "ghi jkl" >&2