bug-gnu-utils
[Top][All Lists]
Advanced

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

Non-bug suggestions (GAWK: Effective AWK Programming, Edition 3, June 20


From: Jack Kelley
Subject: Non-bug suggestions (GAWK: Effective AWK Programming, Edition 3, June 2005)
Date: Tue, 4 Sep 2007 11:38:24 +1000

Arnold (?),

I am working through 'GAWK: Effective AWK Programming' (Edition 3, June
2005). Very good stuff.

Here are a few typos/suggestions/queries for chapters 3 & 4.

###########################################################

3.7 Page 49 line -2: "FS is a set to" --> "FS is set to"

3.7 Page 50 par 2 line 2: "seperator" --> "separator"

3.7 Page 51 par 4 (RS==""): To agree with page 49 par -1, and page 50
par 1, should "The newline character always serves as a field separator,
in addition to whatever value FS may have" be qualified with "provided
only that FS is a (non-regexp) single character"? (I have not yet
experimented with this.)

3.8.1 Page 52 program line "t = -1" seems superfluous.

3.8.1 Page 52 line 1: "all C-style comments" --> "C-style comments"
                                           (would be more up-front)

3.8.7 Page 55 par 2 line 2: "gawk allows you start a coprocess"
                        --> "gawk allows you to start a coprocess"

4.5.2 Page 61 (%f): "and positive infinity as 'inf' and '-infinity'"
                --> "and positive infinity as 'inf' and 'infinity'"

4.5.2 Page 61 (%F): "not all systems support."
                --> "not all systems support it."

4.5.3 Page 62 par -1: "apostrohe" -> "apostrophe"

4.5.3 Pages 62-63: The comments
  Show source program
  Run it in "C" locale
  Run in US English UTF locale
are not prefixed by # and have hit the page margin and wrapped.

4.5.3 Page 63 (NOTE on the apostrophe flag):
"it now becomes difficult to use it in command-line programs" -->
"it becomes difficult to use in command-line programs"

4.6 Page 66 last sentence: "because awk requires" -->
"because (if you mean to refer to that same file or command) awk
requires"

4.6 Page 67 par 2: "See Section 10.2" -->
"See Section 3.8.7, page 55, for a brief discussion. See Section 10.2"

4.6 Page 67 pars 4, 5: The "common error" of par 4 becomes "isn't
necessary" in par 5. I agree, but does the example work anyway, and if
so, under what limitations?

###########################################################


Jack Kelley
Senior Computer Support Officer (GIS)
Botanical Sciences
Environmental Sciences Division
ENVIRONMENTAL PROTECTION AGENCY
Queensland, Australia

[Queensland Herbarium, 
Mt Coot-tha Road, TOOWONG, 4066]
Tel: (07) 3896 9670
Fax: (07) 3896 9624
mailto:address@hidden


___________________________
Disclaimer

WARNING: This e-mail (including any attachments) has originated from a 
Queensland Government department and may contain information that is 
confidential, private, or covered by legal professional privilege, and may be 
protected by copyright.  

You may use this e-mail only if you are the person(s) it was intended to be 
sent to and if you use it in an authorised way.  No one is allowed to use, 
review, alter, transmit, disclose, distribute, print or copy this e-mail 
without appropriate authority.  If you have received this e-mail in error, 
please inform the sender immediately by phone or e-mail and delete this e-mail, 
including any copies, from your computer system network and destroy any 
hardcopies.

Unless otherwise stated, this e-mail represents the views of the sender and not 
the views of the Environmental Protection Agency.

Although this e-mail has been checked for the presence of computer viruses, the 
Environmental Protection Agency provides no warranty that all viruses have been 
detected and cleaned. Any use of this e-mail could harm your computer system.  
It is your responsibility to ensure that this e-mail does not contain and is 
not affected by computer viruses, defects or interference by third parties or 
replication problems (including incompatibility with your computer system).

E-mails sent to and from the Environmental Protection Agency will be 
electronically stored, managed and may be audited, in accordance with the law 
and Queensland Government Information Standards (IS31, IS38, IS40, IS41 and 
IS42) to the extent they are consistent with the law.

___________________________





reply via email to

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