repo.or.cz
/
neatvi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ex: increase the maximum number of buffers
[neatvi.git]
/
test
/
v07.sh
blob
feb831303bfb6ae9cf21d9e174ebd04bf6c4cc29
1
# vi commands
2
echo
":e
$1
"
3
printf
"iabc
\e
"
4
printf
"odef
\e
"
5
printf
'1Gyy'
6
printf
'pGp'
7
echo
":w"
8
echo
":q"
9
10
# the expected output
11
echo
"abc"
>&
2
12
echo
"abc"
>&
2
13
echo
"def"
>&
2
14
echo
"abc"
>&
2