sed 's/|/ /g' file > aaa替换之后,将结果输出到aaa中,不会修改源文件
str="a|a|a|a|a|a|a|a|a"str1=replace(str,"|"," ")traceprint str1