Module Name: src Committed By: uwe Date: Tue Jul 5 12:46:48 UTC 2022
Modified Files: src/external/historical/nawk/bin: awk.1 Log Message: awk(1): g/c extraneous space in an example To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 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.11 src/external/historical/nawk/bin/awk.1:1.12 --- src/external/historical/nawk/bin/awk.1:1.11 Tue Jul 5 00:47:32 2022 +++ src/external/historical/nawk/bin/awk.1 Tue Jul 5 12:46:48 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: awk.1,v 1.11 2022/07/05 00:47:32 uwe Exp $ +.\" $NetBSD: awk.1,v 1.12 2022/07/05 12:46:48 uwe Exp $ .\" .\" Copyright (C) Lucent Technologies 1997 .\" All Rights Reserved @@ -702,7 +702,7 @@ BEGIN { FS = ",[ \et]*|[ \et]+" } Add up first column, print sum and average: .Bd -literal -offset indent { s += $1 } -END { print "sum is", s, " average is", s/NR } +END { print "sum is", s, "average is", s/NR } .Ed .Pp Print all lines between start/stop pairs: