Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created January 3, 2014 22:25
Show Gist options
  • Save smujohnson/8247861 to your computer and use it in GitHub Desktop.
Save smujohnson/8247861 to your computer and use it in GitHub Desktop.
sjohnson@web1:~$ start="i am a"
sjohnson@web1:~$ echo $(args $start fat pig)
$VAR1 = 'i'; $VAR2 = 'am'; $VAR3 = 'a'; $VAR4 = 'fat'; $VAR5 = 'pig';
sjohnson@web1:~$ echo $(args "$start" fat pig)
$VAR1 = 'i am a'; $VAR2 = 'fat'; $VAR3 = 'pig';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment