2026-02-17 shell 👉 返回首页 grep -E “\s$” file.txt匹配以空格结尾的行 cut -d/ -f1以/为分隔符,取第一列 sed ‘/stop/q’ 见到stop就退出sed ‘s/[aeiou]/+/g;s/[xbnczbnm]/-/g’ file.txt同时更换多个字符