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