Couple of points:
-
IGNORECASEconstruct is specific togawk- not available in other versions ofawk(including Solaris'nawkor/usr/xpg4/bin/awk). -
If you were to use
gawk, the proper way to useIGNORECASE, would be:
IGNORECASE=1 gawk 'whateverGAWKcodeComesHere' myInputFile -
To do string matching ignoring case with other (NONgnu awk's) could be:
awk 'tolower($0) ~ tolower("^(int|float|double) function1\\([^)]+\\)")' cokedude.input
You'll need to work out the specifics for your REGEX matching the strings.