第1个回答 2010-10-19
[root@localhost test]# cat c
>1 abc 5000
2 ed>f 2000
3 ghi 60>00
3 g>hi 60>00
[root@localhost test]# sed 's/>//g' c
1 abc 5000
2 edf 2000
3 ghi 6000
3 ghi 6000
[root@localhost test]# sed -i 's/>//g' c
[root@localhost test]# cat c
1 abc 5000
2 edf 2000
3 ghi 6000
3 ghi 6000