Where is igawk and why doesn't @include replicate this feature?
Troy Kenah
troy.kenah@gmail.com
Wed Sep 11 11:52:00 GMT 2019
Hi All,
I have a large number of scripts that were using the the igawk script,
however I have updated my gawk to a newer release that has
obsoleted/removed the igawk script.
I used to embed @include junk.awk statements to reduce repetitive code but
this no longer works. These were files were not functions, simply code
snippets; this is the type of error I am now seeing:
gawk: get_FY2019Q1OIC.awk:28: @include "../inc/segments.awk"
gawk: get_FY2019Q1OIC.awk:28: ^ syntax error
gawk: get_FY2019Q1OIC.awk:36: fromdate=mktime("2019 09 01 00 00 00")
gawk: get_FY2019Q1OIC.awk:36: ^ syntax error
gawk: get_FY2019Q1OIC.awk:36: fromdate=mktime("2019 09 01 00 00 00")
gawk: get_FY2019Q1OIC.awk:36:
^ 0 is invalid as number of arguments for mktime
Any help would be much appreciated!
Regards,
Troy Kenah.
0416 273 135
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list