tv11.sh - neatvi - [fork] simple vi-type editor with UTF-8 support
HTML git clone git://src.adamsgaard.dk/neatvi
DIR Log
DIR Files
DIR Refs
DIR README
---
tv11.sh (214B)
---
1 # vi commands
2 echo ":e $1"
3 printf "iabc"
4 printf "odef"
5 printf "oghi"
6 echo "!krev"
7 sleep .1
8 echo ""
9 echo ":w"
10 echo ":q"
11
12 # the expected output
13 echo "abc" >&2
14 echo "fed" >&2
15 echo "ihg" >&2