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

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

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.2.0
    • grunt
    • None
    • linux/unix

    • Patch Available
    • 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. comment.patch
          0.5 kB
          Ian Holsman
        2. pig.pig
          0.0 kB
          Ian Holsman

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: