te0b.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
---
te0b.sh (259B)
---
1 # vi commands
2 echo "e $1"
3 echo "a"
4 echo "1"
5 echo "2"
6 echo "3"
7 echo "4"
8 echo "5"
9 echo "."
10 echo "1,4g/./+1s/$/x/"
11 echo "wq"
12
13 # the expected output
14 echo "1" >&2
15 echo "2x" >&2
16 echo "3x" >&2
17 echo "4x" >&2
18 echo "5x" >&2