*** empty log message ***

This commit is contained in:
hyung-hwan 2006-09-12 15:22:04 +00:00
parent 241470730d
commit 593c0ee800
3 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: run.c,v 1.201 2006-09-12 15:20:18 bacon Exp $
* $Id: run.c,v 1.202 2006-09-12 15:21:32 bacon Exp $
*/
#include <xp/awk/awk_i.h>

View File

@ -1,9 +1,18 @@
/hello[[:space:]]/
{
/hello[[:space:]]/ {
print $0;
//getline a;
//print a;
print "INTERNAL LOOP NF=" NF;
for (i = 0; i < NF; i++)
{
print "[" $(i+1) "]";
}
#getline a;
#print a;
if (getline > 0) print $0;
print "GETLINE NF=" NF;
for (i = 0; i < NF; i++)
{
print "[" $(i+1) "]";
}
print "----------------";
}

2
ase/test/awk/t43.awk Normal file
View File

@ -0,0 +1,2 @@
#BEGIN { t = "abc"; gsub ("abc", "[&]", t); print t; }
{ gsub ("abc", "ABC"); print $0; }