0

I am following some tutorial and when I run this line:

sed 's/|/\/g' missing_haps_1E7.txt > missing_haps_1E7_final.txt
sed: -e expression #1, char 7: unterminated `s' command

head missing_haps_1E7.txt
1:3925928:G:A|1:3929593:T:C
1:4359549:T:C|1:4360122:C:T
1:4359563:C:T|1:4360565:T:C
1:4459761:T:C|1:4461905:C:T
1:4845341:A:C|1:4858799:A:G
1:5092563:C:A|1:5092886:A:G
...

is sed here as written suppose to replace "|" with "\" or?

Thanks

anamaria
  • 121

0 Answers0