In article <kiktpa$4mt$
1...@dont-email.me>,
Aharon Robbins <
arn...@skeeve.com> wrote:
>In article <kikm33$m68$
1...@news.xmission.com>,
>Kenny McCormack <
gaz...@shell.xmission.com> wrote:
>>GAWK4: Possible to @include in a command line program?
>>
>>I tried: gawk4 '@include "something.awk"; BEGIN ...'
>>
>>and variations thereof, but with no success. This all works fine if I put
>>it into a file and call it, of course.
>>
>>Error messages are all of the "syntax error"/unrecognized-symbol variety.
>
>Works for me:
Indeed it does. At least in the simple cases.
My test case was a bit complex - and I'll have to work it up a bit at some
point to see if it still fails. As it was all on the command line, and my
machine has been rebooted, it will take work to re-create it. Anyway, glad
to know that it does work (at least in the basic cases).
P.S. I'm aware that this can be work-arounded by using multiple "-f"
options (or --source).
--
"That's the eternal flame."[7] The single became another worldwide hit.[8]
Hoffs was actually naked when she recorded the song, after being convinced
by Sigerson that Olivia Newton-John got her amazing performances by
recording everything while naked.[9]
(From:
http://en.wikipedia.org/wiki/The_Bangles)