我运行下面的代码,出现些奇怪的东西- @echo off
- gawk "$0~/[a-z]/{print $0}" a.txt>con
- pause
复制代码 出现- buffer: /
- buffer: a
- /aadfasdhus
- buffer: /
- buffer: a
- /af23456dfidf
- buffer: /
- buffer: 3
- buffer: 5
- buffer: 6
- buffer: 7
- buffer: 2
- buffer: /
- buffer: 5
- buffer: 7
- buffer: 6
- buffer: 7
- buffer: d
- dfdhfe
- buffer: /
- buffer: z
- /zdfdf555dfi
- buffer: /
- buffer: a
复制代码 a.txt内容- /aadfasdhus
- /af23456dfidf
- /35672
- /5767
- dfdhfe
- /zdfdf555dfi
- /adf782dfi
- /zd你好df
- /dfi阿dfi
- /78923好456
- /好的123
- /abc好123
- /123好zzz
复制代码
|