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
/
v10.sh
blob
fddfc9440e06188bd83bae9b2862a231ed9409ae
1
# vi commands
2
echo
":e
$1
"
3
printf
"iabc
\e
"
4
printf
"odef
\e
"
5
printf
"oghi
\e
"
6
printf
'"add'
7
printf
'dd'
8
printf
'"bdd'
9
printf
'P"ap"bp'
10
echo
":4d"
11
echo
":w"
12
echo
":q"
13
14
# the expected output
15
echo
"def"
>&
2
16
echo
"ghi"
>&
2
17
echo
"abc"
>&
2