-bash: syntax error near unexpected token `('
Saddamhus opened this issue · comments
Saddamhus commented
Hello there, could you please tell me what am I doing wrong here, I will really appreciate that.
saddams-MBP:chroms saddamhusain$ for file in *_E_.bg; do paste $file ${file%E_.bg}L_.bg | awk ‘{if($8 != 0 && $4 != 0){print $1,$2,$3,log($4/$8)/log(2)}}’ OFS=‘\t’ > ${file%E_.bg}T_.bg
-bash: syntax error near unexpected token `('
saddams-MBP:chroms saddamhusain$