[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The awk bug
From: |
Kaplenko Vitaliy |
Subject: |
The awk bug |
Date: |
Fri, 27 Nov 2009 18:31:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22) Gecko/20090710 Fedora/1.1.17-1.fc11 pango-text SeaMonkey/1.1.17 |
If run
in Linux localhost.localdomain 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun
16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux:
$ echo "./some_script" | awk 'gsub(".","a") {print $0}'
aaaaaaaaaaaaa
But must be:
$ echo "./some_script" | awk 'gsub(".","a") {print $0}'
a/some_script
- The awk bug,
Kaplenko Vitaliy <=