Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5747

Review all Bash scripts for word splitting bugs

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Build
    • None

    Description

      Triggered by this discussion.

      Bash Word Splitting is nefarious problem.

      http://mywiki.wooledge.org/WordSplitting

      Bad :

      command $variable
      

      Good :

      command "$variable"
      

      Bad :

      command $variable/path
      

      Good :

      command "$variable/path"
      

      Bad :

      command $variable/stuff*
      

      Good :

      command "$variable"/stuff*
      

      It's that simple.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              Unassigned Unassigned
              nchammas Nicholas Chammas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: