现在我用你给出的命令也成功了。非常感谢!
[~/debuglog] # cat oldfile
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
May 13 02:43:24.534144,+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
[~/debuglog] # sed 's/^[^,]*,//' oldfile
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
+9,local6,info,237,53,plugincomponent,ComponentStarter,initialize
[~/debuglog] # |