te06.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
---
te06.sh (271B)
---
1 # vi commands
2 echo ":e $1"
3 echo ":a"
4 echo "abc"
5 echo "def"
6 echo "ghi"
7 echo "."
8 echo ":1,2yank"
9 echo ":1put"
10 echo ":w"
11 echo ":q"
12
13 # the expected output
14 echo "abc" >&2
15 echo "abc" >&2
16 echo "def" >&2
17 echo "def" >&2
18 echo "ghi" >&2