sed -e 's/-[01]//'

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/28 21:03:58

sed -e 's/-[01]//'

将第一个 -0 或者 -1 删除掉.
-e 是说 "add the script to the commands to be executed"
在这里没有什么用处,希望对你友帮助.