📜  bash cat 删除特殊字符 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:49:42.542000             🧑  作者: Mango
代码示例1
cat yourfile.txt | tr -dc '[:alnum:]\n\r'
cat yourfile.txt | sed 's/[^a-zA-Z0-9]//g'
cat yourfile.txt | tr -dc '[:print:]'