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

Nicholas Chammas updated SPARK-5747:
------------------------------------
    Description: 
Triggered by [this 
discussion|http://apache-spark-developers-list.1001551.n3.nabble.com/1-2-1-start-all-sh-broken-td10583.html].

Bash Word Splitting is nefarious problem.

http://mywiki.wooledge.org/WordSplitting

Bad (x):
{code}
command $variable
{code}

Good (/):
{code}
command "$variable"
{code}

Bad (x):
{code}
command $variable/path
{code}

Good (/):
{code}
command "$variable/path"
{code}

Bad (x):
{code}
command $variable/stuff*
{code}

Good (/):
{code}
command "$variable"/stuff*
{code}

It's that simple.

  was:
Bash Word Splitting is nefarious problem.

http://mywiki.wooledge.org/WordSplitting

Bad (x):
{code}
command $variable
{code}

Good (/):
{code}
command "$variable"
{code}

Bad (x):
{code}
command $variable/path
{code}

Good (/):
{code}
command "$variable/path"
{code}

Bad (x):
{code}
command $variable/stuff*
{code}

Good (/):
{code}
command "$variable"/stuff*
{code}

It's that simple.


> Review all Bash scripts for word splitting bugs
> -----------------------------------------------
>
>                 Key: SPARK-5747
>                 URL: https://issues.apache.org/jira/browse/SPARK-5747
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Build
>            Reporter: Nicholas Chammas
>
> Triggered by [this 
> discussion|http://apache-spark-developers-list.1001551.n3.nabble.com/1-2-1-start-all-sh-broken-td10583.html].
> Bash Word Splitting is nefarious problem.
> http://mywiki.wooledge.org/WordSplitting
> Bad (x):
> {code}
> command $variable
> {code}
> Good (/):
> {code}
> command "$variable"
> {code}
> Bad (x):
> {code}
> command $variable/path
> {code}
> Good (/):
> {code}
> command "$variable/path"
> {code}
> Bad (x):
> {code}
> command $variable/stuff*
> {code}
> Good (/):
> {code}
> command "$variable"/stuff*
> {code}
> It's that simple.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to