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
/
e0e.sh
blob
999ac4246d9fcbf669b320e0c5ce2ec4bd994a5f
1
# vi commands
2
echo
":e
$1
"
3
echo
":a"
4
echo
"abc"
5
echo
"def"
6
echo
"."
7
printf
':%%s/(b.*)$/(
\\
1)/g
\n
'
8
echo
":w"
9
echo
":q"
10
11
# the expected output
12
echo
"a(bc)"
>&
2
13
echo
"def"
>&
2