LC Server: shebang breaks tags?
Monte Goulding
monte at appisle.net
Sun Feb 9 22:30:22 EST 2020
Hey guys!
This is one of my early community contributions. The server has an in tag mode and a not in tag mode. The shebang both tells the OS where to find the executable to run the script and sets enters tag mode. So:
#! /some/path
put the long date && the long time
?>FooBar
Should generate the same output as:
<?lc
put the long date && the long time
?>FooBar
You can see why this is necessary if you consider that you don’t want the engine to output the shebang line.
Cheers
Monte
More information about the use-livecode
mailing list