# Error: unexpected string in constant

#### Magpie101

##### New Member
Hi All, apologies for the basic question but I'm a newbie in R and I can't seem to fix this one line of code.

I'm inputting;

awk '$1 == "ChrA1" {print$0}' MM091AllConcat.coverage > ChrA1.coverage

and getting;

Error: unexpected string constant in "awk '$1 == "ChrA1" {print$0}' "

I can't see where the error is; if anyone spots it I'd be most grateful!

Thanks

#### trinker

##### ggplot2orBust
Code:
awk '$1 == "ChrA1" {print$0}[B][COLOR="red"]' M[/COLOR][/B]M091AllConcat.coverage > ChrA1.coverage
You need something here (bold red part). Probably an & sign. These are 2 different expressions.