Module Name: src Committed By: uwe Date: Tue Jul 5 16:21:35 UTC 2022
Modified Files: src/external/historical/nawk/bin: awk.1 Log Message: awk(1): Document /dev/stdin &c magic names (NB: unrelated to fd(4)) To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/historical/nawk/bin/awk.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/historical/nawk/bin/awk.1 diff -u src/external/historical/nawk/bin/awk.1:1.24 src/external/historical/nawk/bin/awk.1:1.25 --- src/external/historical/nawk/bin/awk.1:1.24 Tue Jul 5 15:56:42 2022 +++ src/external/historical/nawk/bin/awk.1 Tue Jul 5 16:21:35 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: awk.1,v 1.24 2022/07/05 15:56:42 uwe Exp $ +.\" $NetBSD: awk.1,v 1.25 2022/07/05 16:21:35 uwe Exp $ .\" .\" Copyright (C) Lucent Technologies 1997 .\" All Rights Reserved @@ -344,6 +344,19 @@ and .Ar expr may be literal names or parenthesized expressions; identical string values in different statements denote the same open file. +For that purpose file names +.Pa /dev/stdin , +.Pa /dev/stdout , +and +.Pa /dev/stderr +refer to program's +.Va stdin , +.Va stdout , +and +.Va stderr +respecively (and are unrelated to +.Xr fd 4 +devices of the same names). .Ss Mathematical and Numeric Functions AWK has the following mathematical and numerical functions built-in: .Bl -tag -width Fn