1、用sed匹配3位以上的数字2、[root@server28 ~]# more a.txt021238989903141592653589753、[root@server28 ~]# sed -nr '/^[[:digit:]]{3,}$/p' a.txt|grep -v ^021312898990314159265358975