📌  相关文章
📜  从行中删除最后一个空格 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:00.456000             🧑  作者: Mango

代码示例1
Use either one of both next commands with sed 's/to_replace/replace/':
sed 's/ *$//' file
sed 's/[[:blank:]]*$//' file