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
/
v05.sh
blob
1ae6d1439fcab1e334f27d8168da5a2f8c68302b
1
# vi commands
2
echo
":e
$1
"
3
printf
"iabc def
\e
"
4
printf
"oghi jkl
\e
"
5
printf
'1G
$d
$'
6
printf
'2GdB'
7
echo
":w"
8
echo
":q"
9
10
# the expected output
11
echo
"abc ghi jkl"
>&
2