tv15.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
---
tv15.sh (201B)
---
1 # vi commands
2 echo ":e $1"
3 printf "iabc"
4 printf "odef"
5 printf "oabc"
6 echo ":%s/abc/ghi/"
7 echo ":w"
8 echo ":q"
9
10 # the expected output
11 echo "ghi" >&2
12 echo "def" >&2
13 echo "ghi" >&2