Closed Julisa-test closed 6 years ago
(venv-2.7.14) ubuntu@ubuntu:~/python2.7/tensorflow$ sed -r ’s/(@@ )|(@@ ?$)//g’ < newstest2015.trans > newstest2015.trans.norm bash: syntax error near unexpected token(' ` How can i solve this problem? Thanks!
(venv-2.7.14) ubuntu@ubuntu:~/python2.7/tensorflow$ sed -r ’s/(@@ )|(@@ ?$)//g’ < newstest2015.trans > newstest2015.trans.norm bash: syntax error near unexpected token
The command should be sed -r 's/(@@ )|(@@ ?$)//g'.
sed -r 's/(@@ )|(@@ ?$)//g'
(venv-2.7.14) ubuntu@ubuntu:~/python2.7/tensorflow$ sed -r ’s/(@@ )|(@@ ?$)//g’ < newstest2015.trans > newstest2015.trans.norm bash: syntax error near unexpected token
(' ` How can i solve this problem? Thanks!