VirtualBox

source: kBuild/vendor/sed/4.1.5/testsuite/eval.sed@ 599

Last change on this file since 599 was 599, checked in by bird, 18 years ago

GNU sed 4.1.5.

File size: 474 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette