Hi Igor.
> We'll see what Corinna says. The above solution does introduce a
> dependency on mktemp that the gawk maintainers may not wish...
> Igor
yes indeed - on my aix box there was no mktemp - I had to roll my own.
Is mktemp part of any of the core packages ? If yes, which one?
H.
--
On Wed, 18 Aug 2004, Hans Horn wrote:
> Hi Igor,
>
> thanks for all your insightful advice.
>
> However, none of your suggestions work ootb.
Hans,
None of the suggestions were tested. Sorry for missing the "--" in the
arg list -- I should have been more careful.
> This one doesn't do anythi
Hi Igor,
thanks for all your insightful advice.
However, none of your suggestions work ootb.
This one doesn't do anything:
> tmpname=`mktemp`
> gawk -- "$expand_prog" /dev/stdin <$tmpname
> $program
> EOF
> eval gawk $opts -- -f $tmpname '"$@"' \
> && rm -f $tmpname
If I understand the gawk m
On Sun, 15 Aug 2004, Yitzchak Scott-Thoennes wrote:
> On Fri, Aug 13, 2004 at 11:30:49PM -0400, Igor Pechtchanski wrote:
> > This looks like an upstream igawk portability bug -- the lines
> >
> > processed_program=`gawk -- "$expand_prog" /dev/stdin < > $program
> > EOF
> >
> > look l
On Sat, 14 Aug 2004, Hans Horn wrote:
> Igor,
>
> thx for your good idea to look what igawk is doing under the hood.
> So I tracked things further down and found that the problem is one line
> further down than you thought, and does not seem to be cygwin/windows
> specific (doesn't work under A
On Fri, Aug 13, 2004 at 11:30:49PM -0400, Igor Pechtchanski wrote:
> This looks like an upstream igawk portability bug -- the lines
>
> processed_program=`gawk -- "$expand_prog" /dev/stdin < $program
> EOF
>
> look like the culprit. They should be using xargs instead...
Not tr
Igor,
thx for your good idea to look what igawk is doing under the hood.
So I tracked things further down and found that the problem is one line
further down than you thought, and does not seem to be cygwin/windows
specific (doesn't work under AIX either):
The real bad guy is:
eval gawk $opts -
On Fri, 13 Aug 2004, Hans Horn wrote:
> Group,
>
> I have a rather lengthy awk script (that internally includes a bunch of awk
> library functions; therefore I'm using igawk).
>
> When I invoke it, e.g. like
>
> echo | igawk -f script.awk
> eval: gawk: argument list too long
>
> The script and th
Group,
I have a rather lengthy awk script (that internally includes a bunch of awk
library functions; therefore I'm using igawk).
When I invoke it, e.g. like
echo | igawk -f script.awk
eval: gawk: argument list too long
The script and the awk library functions together make up approx. 34kByte
9 matches
Mail list logo