te11.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
---
te11.sh (183B)
---
1 # vi commands
2 echo ":e $1"
3 echo ":a"
4 echo "a"
5 echo "ab"
6 echo "."
7 echo ':%s/^a$/x/'
8 echo ":w"
9 echo ":q"
10
11 # the expected output
12 echo "x" >&2
13 echo "ab" >&2