^@等价于字符串结束标志\0,这个字符抓去网页的时候经常会遇到,可以用此命令来去除。 sed -i ’s/\x0//g‘ filename 以上引号为英文版引号,CSDN的markdown 自动给换成中文的了,搽