*** empty log message ***
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
/a\/b/ {
|
||||
print $0 ~ /abc/;
|
||||
print $0 !~ /abc/;
|
||||
print $0 ~ "abc[[:space]]";
|
||||
print $0 ~ "abc[[:space:]]";
|
||||
print $0 !~ "abc";
|
||||
print /abc/;
|
||||
}
|
||||
|
7
ase/test/awk/t21.awk
Normal file
7
ase/test/awk/t21.awk
Normal file
@ -0,0 +1,7 @@
|
||||
BEGIN { exit 10; }
|
||||
|
||||
{
|
||||
print $0;
|
||||
}
|
||||
|
||||
END { print "== END OF PROGRAM =="; }
|
15
ase/test/awk/t22.awk
Normal file
15
ase/test/awk/t22.awk
Normal file
@ -0,0 +1,15 @@
|
||||
//BEGIN { exit 10; }
|
||||
|
||||
//{ while (1) {if (x == 20) continue; if (a) break; while (10) break; }}
|
||||
//END { while (1) {if (x == 20) continue; if (a) break; while (10) break; }}
|
||||
|
||||
{
|
||||
//return 20;
|
||||
|
||||
print getline abc < "";
|
||||
print "[[" abc "]]";
|
||||
print close("");
|
||||
//exit 20;
|
||||
}
|
||||
|
||||
END { print "end";
|
Reference in New Issue
Block a user