*** empty log message ***
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
BEGIN
|
||||
{
|
||||
BEGIN {
|
||||
print "more";
|
||||
//print | "more";
|
||||
//print > "echo";
|
||||
|
15
ase/test/awk/t33.awk
Normal file
15
ase/test/awk/t33.awk
Normal file
@ -0,0 +1,15 @@
|
||||
BEGIN {
|
||||
ARGV[1] = 20;
|
||||
print "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
||||
|
||||
delete NF;
|
||||
print "NF[1]=", NF[1];
|
||||
|
||||
NF[1] = 20; // this line should not be allowed
|
||||
print "AWK IMPLEMENTATION ERROR: hey... NF[1] = 20 has succeeded in the BEGIN block. your interpreter must be wrong";
|
||||
print "NF[1]=", NF[1];
|
||||
}
|
||||
|
||||
{
|
||||
NF = 30;
|
||||
}
|
Reference in New Issue
Block a user