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
/
e0c.sh
blob
6ed00b85ae744f7edc0845822dce807e1cb26784
1
# vi commands
2
echo
"e
$1
"
3
echo
"a"
4
echo
"x"
5
echo
"1"
6
echo
"2"
7
echo
"3"
8
echo
"4"
9
echo
"5"
10
echo
"."
11
echo
"1d"
12
echo
"1,4g/./+1put"
13
echo
"wq"
14
15
# the expected output
16
echo
"1"
>&
2
17
echo
"2"
>&
2
18
echo
"x"
>&
2
19
echo
"x"
>&
2
20
echo
"3"
>&
2
21
echo
"4"
>&
2
22
echo
"x"
>&
2
23
echo
"x"
>&
2
24
echo
"5"
>&
2