qse/ase/test/awk/t18.awk

21 lines
226 B
Awk
Raw Normal View History

2006-07-28 10:38:16 +00:00
/hello/
{
//print FILENAME;
2006-07-30 15:53:42 +00:00
print "**1**" $0;
2006-07-28 10:38:16 +00:00
//nextfile;
print "----------------";
}
/hello/
{
//print FILENAME;
print "**2**" $0;
nextfile;
print "----------------";
}
END
{
print "== END OF PROGRAM ==";
}