te07.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
---
te07.sh (289B)
---
1 # vi commands
2 echo ":e $1"
3 echo ":a"
4 echo "<< >> << >>"
5 echo "<< >> << >>"
6 echo "."
7 echo ":%s/<</left {/g"
8 echo ":%s/>>/right }/g"
9 echo ":w"
10 echo ":q"
11
12 # the expected output
13 echo "left { right } left { right }" >&2
14 echo "left { right } left { right }" >&2