From f23270d71c3cdb85b79677f07378eac9e6bcafb5 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 9 May 2013 14:09:53 +0300 Subject: Make /regex/ a 2nd arg to index() a fatal error. --- doc/gawk.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/gawk.1') diff --git a/doc/gawk.1 b/doc/gawk.1 index 34fa7923..7f31c254 100644 --- a/doc/gawk.1 +++ b/doc/gawk.1 @@ -13,7 +13,7 @@ . if \w'\(rq' .ds rq "\(rq . \} .\} -.TH GAWK 1 "Apr 24 2013" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "May 09 2013" "Free Software Foundation" "Utility Commands" .SH NAME gawk \- pattern scanning and processing language .SH SYNOPSIS @@ -2790,6 +2790,8 @@ or 0 if .I t is not present. (This implies that character indices start at one.) +It is a fatal error to use a regexp constant for +.IR t . .TP \fBlength(\fR[\fIs\fR]\fB) Return the length of the string -- cgit v1.2.3