Skip to content

Instantly share code, notes, and snippets.

@whiteley
Created March 8, 2012 01:47
Show Gist options
  • Save whiteley/1997941 to your computer and use it in GitHub Desktop.
Save whiteley/1997941 to your computer and use it in GitHub Desktop.
> You can bring a machine to its knees with
>
> : ${var=foo}
>
> if $var is for instance /*/*/*/../../../*/*/*/../../../*/*/*
>
> So, you should either use instead:
>
> var=${var-foo}
> or
>
> : "${var=foo}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment