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

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

GNU Awk 3.1.0 doc bug


From: Alexander Zhuckov
Subject: GNU Awk 3.1.0 doc bug
Date: 28 Jun 2004 20:49:42 +0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Hi!

I use GNU Awk 3.1.0 (Debian GNU/Linux version).

In the first paragraph of 'split' function description I read:

  "....  If STRING does not match FIELDSEP, ARRAY is
   empty and `split' returns zero."

And in the last paragraph:

   "... If STRING does not match
   FIELDSEP at all, ARRAY has one element only. The value of that
   element is the original STRING."

In GAWK implemented last paragraph and split return 1 if STRING does not
match FIELDSEP. May be first paragrpah should be corrected?

-- 
Alexander Zhuckov




reply via email to

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