正则表达式: 匹配数字 ^[0-9][0-9]*$

正则表达式: 匹配数字 ^[0-9][0-9]*$

ls /proc | sort -n | grep  ^[0-9][0-9]*$
发布了106 篇原创文章 · 获赞 30 · 访问量 12万+

猜你喜欢

转载自blog.csdn.net/dc3120/article/details/103874506