NetBSD-Bugs archive

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

Re: PR/39002 CVS commit: src/dist/nawk



The following reply was made to PR bin/39002; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: "Greg A. Woods; Planix, Inc." <woods%planix.ca@localhost>
Cc: David Holland <dholland-bugs%netbsd.org@localhost>, 
gnats-bugs%netbsd.org@localhost
Subject: Re: PR/39002 CVS commit: src/dist/nawk
Date: Sun, 13 Jul 2008 21:13:54 +0000

 On Sun, Jul 13, 2008 at 04:46:23PM -0400, Greg A. Woods; Planix, Inc. wrote:
 > Page 191:
 >
 > for strings and REs:
 >
 >      \c      any other character 'c' literally, e.g., \" for " and \\ for \
 >
 > The implication is of course that all 'x' are valid in '\x' and thus no 
 > warning should ever be given.  (except inside a character class in an RE 
 > where only '\', '^' at the beginning, and '-' between two characters have 
 > any special meaning)
 
 That implication does not follow. (And if it did, lint would be illegal.)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index