Allow standalone Pig executable scripts with #!/<path>/<to>/pig
---------------------------------------------------------------
Key: PIG-2655
URL: https://issues.apache.org/jira/browse/PIG-2655
Project: Pig
Issue Type: Improvement
Components: parser
Reporter: Kai Voigt
Priority: Minor
Pig should ignore the first line of a pig script when it starts with #!
That will allow standalone pig scripts which you can run from the command line.
Looks like trunk/src/org/apache/pig/parser/QueryLexer.g is the place to add #!
to the SL_COMMENT entry.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira