bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] New Features for gawk


From: Nelson H. F. Beebe
Subject: Re: [bug-gawk] New Features for gawk
Date: Tue, 30 Aug 2011 17:03:01 -0600 (MDT)

Guenter Goebel suggests new gawk options --start-record and --ignore-eof.

The pattern/action pair

        (FNR > 2) && /Network is unreachable/ { print $0 }

should simulate the first, and work with all awk implementations.

I'm unclear about the purpose of --ignore-eof, but perhaps
it too is unneeded.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

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