[ 
https://issues.apache.org/jira/browse/PIG-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647386#action_12647386
 ] 

Alan Gates commented on PIG-519:
--------------------------------

For now, I think it's fine to just allow #! as a comment at the head of a line 
in order to support the unix interpreter functionality.  If others want to 
support # as a general comment operator we can have that debate later.

Ian, one question, are you still using the trunk version of pig, or the types 
branch?  It was planning on applying this to the types branch, but if you need 
to me to I can apply it to trunk as well.

> allow for '#' to signify a comment in a PIG script
> --------------------------------------------------
>
>                 Key: PIG-519
>                 URL: https://issues.apache.org/jira/browse/PIG-519
>             Project: Pig
>          Issue Type: Wish
>          Components: grunt
>         Environment: linux/unix
>            Reporter: Ian Holsman
>            Priority: Trivial
>         Attachments: comment.patch, pig.pig
>
>
> in unix type operating systems, it is common to just run scripts directly 
> from the shell.
> In order to do this scripts need to have the command to run them on the first 
> line similar to
> #!/usr/bin/env pig -
> this patch allows you to just run scripts without specifying pig -f XXX

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to