会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
ZXYFrank
Enjoy the process🍀
博客园
首页
新随笔
联系
订阅
管理
2023年12月28日
如何使用 Shell 命令在 linux 当中统计很多文件当中所有的中文字符
摘要: grep -P '[\p{Han}]+' **/*.md -oh | tr -d '\s' > cat.log -P 是正则表达式匹配 -h, --no-filename Suppress the prefixing of file names on output. This is the defa
阅读全文
posted @ 2023-12-28 14:54 ZXYFrank
阅读(23)
评论(0)
推荐(0)
编辑
公告