linux中,怎么用sed截取出一系列数字中100以上的数字

如题所述

第1个回答  2016-09-14
1、用sed匹配3位以上的数字
2、[root@server28 ~]# more a.txt
021
23
898990
314159265358975
3、[root@server28 ~]# sed -nr '/^[[:digit:]]{3,}$/p' a.txt|grep -v ^0
21312
898990
314159265358975本回答被提问者和网友采纳
相似回答