[ 
https://issues.apache.org/jira/browse/PIG-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Gates updated PIG-519:
---------------------------

       Resolution: Fixed
    Fix Version/s: types_branch
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Checked in modified version of the patch that just supported #!.  Thanks Ian 
for the contribution.

> 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
>             Fix For: types_branch
>
>         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