Errors about Print

Dear all,

      I want to use triple quotes to print multiple line into a file. There is always an error as follows:

"LAMMPS (9 Dec 2014)
ERROR: Input line quote not followed by whitespace (../input.cpp:386) "

I added the whitespace after the input line, but there is still the error. Can anyone tell me what is wrong with it.
The test input is very simple,

print """
x = 5
y = 6
""" file 1.txt

Thanks in advance,
Lin

Dear all,

      I want to use triple quotes to print multiple line into a file.
There is always an error as follows:

"LAMMPS (9 Dec 2014)
ERROR: Input line quote not followed by whitespace (../input.cpp:386) "

I added the whitespace after the input line, but there is still the
error. Can anyone tell me what is wrong with it.

have you consulted the version of the documentation that matches your
LAMMPS version whether this syntax is at all supported?
​it works for me with the current LAMMPS version.

LAMMPS (26 Oct 2015)
print """
x = 5
y = 6
""" file 1.txt

x = 5
y = 6

Total wall time: 0:00:11

​axel.​