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

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

awk documentation


From: swrh
Subject: awk documentation
Date: Wed, 19 May 2004 10:21:28 -0300

Hi, 

  I'm a `GAWK' user and I found an error in its manual page. It says that 
the `IGNORECASE' variable does not affect the `asort()' function, but it 
does. After setting it to 1, `asort()' sorts the array ignoring the case. 
Here follows the manual page section that has the error: 

IGNORECASE  Controls the case-sensitivity of all regular expression and 
            string  operations.   If  IGNORECASE  has a non-zero value, 
            then string comparisons  and  pattern  matching  in  rules, 
            field splitting with FS, record separating with RS, regular 
            expression matching  with  ~  and  !~,  and  the  gensub(), 
            gsub(), index(), match(), split(), and sub() built-in func- 
            tions all ignore case when doing regular expression  opera- 
            tions.   NOTE:  Array  subscripting is not affected, nor is 
            the asort() function. 

I have made the tests using `RedHat Linux 9', and the `GAWK' version is: 

$ awk --version 
GNU Awk 3.1.1 
Copyright (C) 1989, 1991-2002 Free Software Foundation. 

This program is free software; you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 2 of the License, or 
(at your option) any later version. 

This program is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
GNU General Public License for more details. 

You should have received a copy of the GNU General Public License 
along with this program; if not, write to the Free Software 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
$ 

Thank you. 

-- 
Fernando Silveira <address@hidden> 

_________________________________________________________________________________
Quer mais velocidade?
Só com o acesso Aditivado iG, a velocidade que você quer na hora que você 
precisa.
Clique aqui: http://www.acessoaditivado.ig.com.br


reply via email to

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