bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The GNU Awk User’s Guide issue


From: Mark Quinlan
Subject: The GNU Awk User’s Guide issue
Date: Sun, 23 Jan 2022 20:31:36 +0000

https://www.gnu.org/software/gawk/manual/gawk.html#Foreword3

The GNU Awk User’s Guide

search for                                  the right-margin columns

I am new but I have looked at this documentation several times. Shouldn't it 
read > not < ?

the text:


Print the length of the longest line in data:

expand data | awk '{ if (x < length($0)) x = length($0) }
                   END { print "maximum line length is " x }'

Sincerely,
Mark Quinlan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]