gawk中的字符串数字(STRNUM)介绍
发布时间:2018-08-27 来源:查字典编辑
摘要:前天,怀着忐忑的心情给bug-gawk@gnu.org发了一封邮件:[bugreport]gawkdoesn’tworkcorrectlyw...
前天,怀着忐忑的心情给 bug-gawk@gnu.org 发了一封邮件:
[bug report] gawk doesn’t work correctly when assign special value to variable
To: bug-gawk@gnu.org
1. Symptom:
gawk doesn’s work correctly when assign special value (like 00e1) variable.
2. Steps to repeat this issue:
1) Download and compile the latest gawk 4.1.3
http://ftp.gnu.org/gnu/gawk/
[root]# gawk --version | head -2
GNU Awk 4.1.3, API: 1.1
Copyright (C) 1989, 1991-2015 Free Software Foundation.
2) Prepare a test file
cat > 1.txt