tv02.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
---
tv02.sh (214B)
---
1 #!/bin/sh
2
3 # vi commands
4 echo ":e $1"
5 printf "iabc def"
6 printf "oghi jkl"
7 printf "kOmno pqr"
8 echo ":w"
9 echo ":q"
10
11 # the expected output
12 echo "mno pqr" >&2
13 echo "abc def" >&2
14 echo "ghi jkl" >&2