Re: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread Fernando Mercês
Yes. And you'd have to scape the dollar signs too. Or you could just use single quotes around the whole thing: echo 'rule a { strings: $h = "arnav" condition: $h }' > a Att, @MercesFernando mentebinaria.com.br --- On Sun, Mar 18, 2018

Re: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread Wesley Shields
The inner quotes are not escaped. — WXS On Sun, Mar 18, 2018 at 8:24 PM wrote: > Hi > > I ran this rule while learning: > echo "rule a { strings: $h = "arnav" condition: $h } > a > > but when I run > yara a a > > it gives me this error: > error: syntax error, unexpected

error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread agogia . inz
Hi I ran this rule while learning: echo "rule a { strings: $h = "arnav" condition: $h } > a but when I run yara a a it gives me this error: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_ I can't figure out what's wrong. -- You received this message because you are