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