This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Where is igawk and why doesn't @include replicate this feature?
- From: Troy Kenah <troy dot kenah at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Sep 2019 16:54:49 +1000
- Subject: Where is igawk and why doesn't @include replicate this feature?
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