[lammps-users] Is it a bug for the if command after version 19 Nov 2010?

Here is the test script:

if "\{new\} == 1" then exit print "{new}"

The log file just gives me:

LAMMPS (1 Dec 2010)
if "${new} == 1" then exit
ERROR: Illegal if command

this was a bug with an off-by-one error check
I'll post a patch - thanks

Steve