tommytangtang 当前离线
上等兵
@gawk "BEGIN{FS=OFS=\",\"}FNR==1{sub(/\.[^\.]*$/,\"A^&\",FILENAME)}{$1+=100;print>FILENAME}" *.txt复制代码
TOP
DAIC 当前离线
中将
@gawk "BEGIN{FS=OFS=\",\"}FNR==1{FILENAME=gensub(/[0-9]{5}/, \"12^&\", \"g\", FILENAME)}{$1+=100;print>FILENAME}" *.txt复制代码
@gawk "BEGIN{FS=OFS=\",\"}FNR==1{gsub(/[0-9]{5}/,\"12^&\",FILENAME}{$1+=100;print>FILENAME}" *.txt复制代码
DAIC 发表于 2014-9-3 13:58
@gawk "BEGIN{FS=OFS=\",\"}FNR==1{FILENAME=gensub(/[0-9]{2}([0-9]{5})/, \"\\1\", \"g\", FILENAME)}{$1+=100;print>FILENAME}" *.txt复制代码
评分人数