syntax error near unexpected token `)'

2015-08-13 Thread konika
Hi i am new to make file and trying to figure out how to write the command so I dont get the error:- syntax error near unexpected token `)' Its very basic one line (echo -n "Total "; zcat ../raw/shNuak1-D704_S4_L001_R1_001_sample.fastq.gz| echo -n $((`wc -l`/4)); ) > test.stats it works fine on

Re: syntax error near unexpected token `)'

2015-08-13 Thread konika
My supervisor fixed it by adding an extra $ sign :) %.stats: %.int %.sam (echo -n "Total "; zcat ../raw/shNuak1-D704_S4_L001_R1_001_sample.fastq.gz| echo -n $$((`wc -l`/4)); ) > test.stats -- View this message in context: http://gnu-make.2324884.n4.nabble.com/syntax-error-near-unexpe