76eaea49e4619b9f4f334bfb2d25d66edeb03f38
[cedit] / test / test
1 #!/bin/bash
2
3 cd $(mktemp -d)
4
5 cat >f <<'EOF'
6 this
7 little
8 EOF
9
10
11 cedit -v f <<'EOF'
12 piggy
13 went
14 to
15 market
16 EOF
17
18
19 cedit -v sec2 f <<'EOF'
20 another little piggy
21 stayed home
22 EOF
23
24 cat >>f <<'EOF'
25 wee wee wee
26 EOF
27
28 cedit -v f <<'EOF'
29 piggy
30 went
31 to
32 market
33 EOF
34
35
36 cedit -v sec2 f <<'EOF'
37 another little piggy
38 stayed home
39 EOF