MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/doc/gawk-3.1.5/README_d/README.linux
Thu Apr 17 14:41:17 EDT 1997

Some Linux systems, notably RedHat systems through RedHat 4.1, have the
symbolic links for /dev/stdin and /dev/stdout messed up. Specifically,
/dev/stdin is linked to ../proc/self/fd/1 and /dev/stdout to
../proc/self/fd/0. This is backwards.  This causes strange behavior
when using those files from within gawk.

Removing and redoing the symlinks fixes the problem.  It is fixed in
post-4.1 RedHat Linux.

Arnold Robbins
arnold@gnu.org

Sun Aug  3 15:07:06 EDT 1997

As of version 3.1 of gawk, this is no longer a problem, since gawk now
completely interprets the special file names internally.

Arnold Robbins
arnold@gnu.org