[gnuwin32 - Help] Problem printing to "con"

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5516993
By: hodjpodj

The following code...

BEGIN {print "test" > "con.txt"}

... prints to screen and not to a "con.txt" file as I would expect. This occurs
with any path that contains a base file name of "con". I'm guessing there's
some sort of redirect to the "console" happening here.

I've reproduced the problem on Windows XP and Vista, and with Gawk 3.1.2 (cygwin)
and 3.1.6 (SourceForge).

Can others reproduce this? Given I need the base file name to be "con", is there
a fix or workaround for this?



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.