qse/ase/test/awk/t14.awk

26 lines
325 B
Awk
Raw Normal View History

2006-07-10 14:28:46 +00:00
global x, y;
2006-07-13 15:43:39 +00:00
2006-07-10 14:28:46 +00:00
{
2006-07-12 07:25:15 +00:00
print "NF = " NF;
2006-07-10 14:28:46 +00:00
for (i = 0; i < 10; i++)
{
print $i;
if (i == 3) a = $i;
}
2006-07-10 04:51:38 +00:00
2006-07-12 07:25:15 +00:00
$1 = 100;
2006-07-12 17:04:02 +00:00
2006-07-12 07:25:15 +00:00
//$1 = $2;
//$3 = $2;
//$2 = $2;
2006-07-12 17:04:02 +00:00
2006-07-13 15:43:39 +00:00
OFS["1234"]=":";
2006-07-13 03:10:35 +00:00
$20 = 10;
2006-07-10 14:28:46 +00:00
print $0;
2006-07-06 15:54:41 +00:00
print "--------------------";
2006-07-12 17:04:02 +00:00
print "NF ===>>> " NF;
2006-07-10 14:28:46 +00:00
print "====================";
2006-07-05 16:20:23 +00:00
}
2006-07-17 04:17:40 +00:00
2006-07-17 14:27:09 +00:00
END { system ("dir /w/p"); print sin(270); }