[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gawk cannot control the use of interval expressions from within a progra
From: |
Ruy Exel |
Subject: |
gawk cannot control the use of interval expressions from within a program |
Date: |
Thu, 04 Nov 2004 19:40:21 -0300 |
Is it possible to make gawk understand interval expressions (like when it is
given the option --re-interval) from within a gawk program?
I want to run a gawk program via the `#!' script interpreter and I do not know
how to pass options to gawk in this case. I attempted to start my script with
the line:
#!/usr/bin/gawk --re-interval -f
but it does not work.
Apparently the only option that may be controlled from within a program is the
--lint option, given that the section on Built-in Variables of the manual
says:
LINT Provides dynamic control of the --lint option from within an AWK
pro-
gram. When true, gawk prints lint warnings. When false, it does
not.
When assigned the string value "fatal", lint warnings become
fatal
errors, exactly like --lint=fatal. Any other true value just
prints
warnings.
Many thanks for any help.
Ruy Exel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gawk cannot control the use of interval expressions from within a program,
Ruy Exel <=