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

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

bug in latest awk release


From: Mirco Meniconi
Subject: bug in latest awk release
Date: Tue, 13 Sep 2005 10:11:40 +0200 (CEST)

Please look at this strange behaviour:


#~/gawk-3.1.5/gawk 'FS="\t" {print $1}' f.txt
123
123 4565
123


~/gawk-3.1.5/gawk -v FS="\t" '{print $1}' f.txt
123 4565
123 4565
123


the content of the file f.txt is
123 4565        789
123 4565        789
123     4565 789

the content of the first two lines is the same and the tab is present between
the second and the third field (I'm sorry but my e-mail client does not supprt
the tab). While on th ethird line the tab il present between the first and the
second filed.
... Gawk seems to confuse the "space character" of the first row with a "tab",
but 



        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it




reply via email to

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