tv1c.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
---
tv1c.sh (196B)
---
1 # vi commands
2 echo ":e $1"
3 echo "iabc"
4 echo "odef"
5 echo "oghi"
6 echo ":%g/^[dg]/s/h/x/"
7 echo ":wq"
8
9 # the expected output
10 echo "abc" >&2
11 echo "def" >&2
12 echo "gxi" >&2