Line | |
---|
1 | 1d
|
---|
2 |
|
---|
3 | #Try eval command
|
---|
4 | /cpu/!b2
|
---|
5 | e../sed/sed 1q eval.in2
|
---|
6 |
|
---|
7 | :2
|
---|
8 | p
|
---|
9 | i---
|
---|
10 | h
|
---|
11 |
|
---|
12 | #Try eval option
|
---|
13 | s,.* *cpu *,../sed/sed 1q eval.in2; echo "&",e
|
---|
14 |
|
---|
15 | :3
|
---|
16 | p
|
---|
17 | g
|
---|
18 | i---
|
---|
19 |
|
---|
20 | h
|
---|
21 | #Try eval option with print
|
---|
22 | s,.* *cpu.*,../sed/sed 1q eval.in2,ep
|
---|
23 | g
|
---|
24 |
|
---|
25 |
|
---|
26 | :4
|
---|
27 | p
|
---|
28 | i---
|
---|
29 |
|
---|
30 | $!d
|
---|
31 |
|
---|
32 | #Do some more tests
|
---|
33 | s/.*/Doing some more tests -----------------------/p
|
---|
34 | s,.*,../sed/sed 1q eval.in2,ep
|
---|
35 | i---
|
---|
36 | s,.*,../sed/sed 1q eval.in2,pe
|
---|
37 | i---
|
---|
38 | s,.*,../sed/sed 1q eval.in2,
|
---|
39 | h
|
---|
40 | e
|
---|
41 | p
|
---|
42 | g
|
---|
43 | i---
|
---|
44 | s/^/echo /ep
|
---|
45 | i---
|
---|
46 | s/^fubar$/echo wozthis/e
|
---|
Note:
See
TracBrowser
for help on using the repository browser.