bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

split-function


From: Pit Kreiner
Subject: split-function
Date: Mon, 9 Apr 2001 14:07:09 +0200

Within the following circumstances the split-function seems to run endless.
Really it only runs unconsiderably long:

file x.awk:

{       print "before"
        ek = split ($0, komm, /\/\*([^*]|([*]+[^/]))*\*\//)
        print "after " ek
}

file x.xxx:

//**********************************//

call:

awk -f x.awk x.xxx

Try more or less asterisks in x.xxx, the time varies very strongly.
--
   o  +   |   _  o   _     _
 o |_ |_  |< | e |_ | | e |  
|  Tel.:  +49-9131-7725-306



reply via email to

[Prev in Thread] Current Thread [Next in Thread]