Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-519

allow for '#' to signify a comment in a PIG script

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: grunt
    • Labels:
      None
    • Environment:

      linux/unix

    • Patch Info:
      Patch Available
    • Hadoop Flags:
      Reviewed

      Description

      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

        Attachments

        1. pig.pig
          0.0 kB
          Ian Holsman
        2. comment.patch
          0.5 kB
          Ian Holsman

          Activity

            People

            • Assignee:
              iholsman Ian Holsman
              Reporter:
              iholsman Ian Holsman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: