aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi19
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 8a608ed8..831a9f1b 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -15761,19 +15761,18 @@ This element gives a string indicating the platform for which
@item "vms"
OpenVMS or Vax/VMS.
-@item "macosx"
-Mac OS X.
-
-@item "cygwin"
-@itemx "djgpp"
+@item "djgpp"
@itemx "mingw"
-Microsoft Windows, using either Cygwin, DJGPP, or MinGW, respectively.
+Microsoft Windows, using either DJGPP or MinGW, respectively.
@item "os2"
OS/2.
+@item "os390"
+OS/390.
+
@item "posix"
-GNU/Linux and legacy Unix systems.
+GNU/Linux, Cygwin, Mac OS X, and legacy Unix systems.
@end table
@item PROCINFO["pgrpid"]
@@ -40049,6 +40048,12 @@ appropriate @samp{-v BINMODE=@var{N}} option on the command line.
@code{BINMODE} is set at the time a file or pipe is opened and cannot be
changed midstream.
+On POSIX-compatible systems, this variable's value has no effect.
+Thus, if you think your program will run on multiple different systems
+and that you may need to use @code{BINMODE}, you should simply set it
+(in the program or on the command line) unconditionally, and not worry
+about the operating system on which your program is running.
+
The name @code{BINMODE} was chosen to match @command{mawk}
(@pxref{Other Versions}).
@command{mawk} and @command{gawk} handle @code{BINMODE} similarly; however,