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

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/16 19:22:01
sed-e''s/-[01]//''sed-e''s/-[01]//''sed-e''s/-[01]//''将第一个-0或者-1删除掉.-e是说"addthescripttothecommandstobeexec

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

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