keshun 当前离线
六级士官
评分人数
WHY 当前离线
上校
gawk "$2>5.8 || $2<5.7" a.txt > b.txt复制代码
sed -r "/^\S+\s+5\.(7[0-9]*|80*)\b/d" a.txt > b.txt复制代码
TOP
gawk "$2>5.8 || $2<5.7" a.txt > b.txt gawk "$2>5.7 || $2<5.8" a.txt > b.txt复制代码
@echo off set "a=5.7" set "b=5.8" gawk "BEGIN{a=%a%>%b%?%a%:%b%; b=%a%>%b%?%b%:%a%}; $2>a || $2<b" a.txt > b.txt pause复制代码