阅读背景:

删除shell中一行的最后一个单词

来源:互联网 

I'm looking for how to delete the last word of a line in shell ! I use sed but I only found the way how delete the lase word of every line, but not a specify line. For exemple: I have a file test.dbI'm looking for how to delete the last word of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: