te08.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
---
te08.sh (198B)
---
1 # vi commands
2 echo ":e $1"
3 echo ":a"
4 echo "abc"
5 echo "axy"
6 echo "."
7 printf ':%%s/a(..)/\\1a/g\n'
8 echo ":w"
9 echo ":q"
10
11 # the expected output
12 echo "bca" >&2
13 echo "xya" >&2