|
awk/gawk handling of "delete" ?
hello awk-programmers!
I am having some problem with a awk script I wrote. It is working fine with gawk (version 3.1.2) but may not work with awk on HP-UX.
relevant part of the script is:
conddescription["something"]=1;
delete conddescription;
But there is always an error message :
" syntax error The source line is 6.
The error context is
/HELLO/ { delete >>> desc; <<<
awk: The statement cannot be correctly parsed.
The source line is 6."
Can any one give me a hint why this should work in gawk but not in awk?
thanks for any idea.
|