https://issues.apache.org/bugzilla/show_bug.cgi?id=48067

--- Comment #5 from Jeff Trawick <[email protected]> 2009-11-11 04:11:06 UTC 
---
>I have NEVER seen such a behaviour. This can only occur if a '-' follows the
input-file name, such as "awk ... inputfile -"

You're right; my explanation is incorrect.  I'll leave it at this:

This stalls on stdin

/usr/bin/awk -f build/addloadexample.awk -v MODULE=fcgid infile >/dev/null

but this doesn't

/usr/bin/awk -f build/addloadexample.awk infile >/dev/null

(but that is missing the variable substitution)

and neither does this

/usr/bin/awk -f build/addloadexample.awk -v MODULE=fcgid < infile >/dev/null

I'm not able to quickly find the root cause.  Moving "-v MODULE=fcgid" before
the "-f foo.awk" yields a syntax error.

I'm curious if you know the answer; perhaps there's a more correct invocation
for Makefile.apxs.

(This is with /usr/bin/awk on Solaris 10 U5 and OpenSolaris 2009.06.)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to