tv04.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
---
tv04.sh (212B)
---
1 #!/bin/sh
2
3 # vi commands
4 echo ":e $1"
5 echo "iabc def"
6 printf "ghi jkl"
7 printf "1Gf cE 123"
8 printf "2Gf cB456"
9 echo ":w"
10 echo ":q"
11
12 # the expected output
13 echo "abc 123" >&2
14 echo "456 jkl" >&2