Hi!
Does anyone know how long the input record can be in nawk? I believe it is 3000 characters i awk, but is it the same in nawk?
Thanx in advance
/Tobbe
Hi Sethu!
You can only have a limited number of pipes and files opened at the same time. I think that the limit is 20 in nawk. To avoid this error, you have to close the pipes with the close() command once you're done with them:
"basename " filename | getline base
close...
Hi!
I'm writing a large script that converts textfiles to html. The problem is that the script is supposed to check if there are textfiles to be converted on several computers. The computers names are stored in an environmental variable, like:
COMPS_TO_CHECK="comp1 comp2 comp3 ..."...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.