使用grep命令找出只包含数字的行
扩展元字符
+ 前面字符1到N
? 前面字符0-1个
a|b 匹配a或b
() 组字符
(..)(..)\1\2 标签匹配
x{m}
x{m,}
x{m,n} linux grep 搜索命令
# egrep '^[0-9]+$' filename.txt