tv0b.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
---
tv0b.sh (236B)
---
1 # vi commands
2 echo ":e $1"
3 printf "iabc"
4 printf "odef"
5 printf "oghi"
6 echo "?abc"
7 printf "i1"
8 echo "/ghi"
9 printf "i2"
10 echo ":w"
11 echo ":q"
12
13 # the expected output
14 echo "1abc" >&2
15 echo "def" >&2
16 echo "2ghi" >&2