Skip to content

Instantly share code, notes, and snippets.

@dnomadb
Created February 6, 2015 22:30
Show Gist options
  • Save dnomadb/aec973275faaadebec2e to your computer and use it in GitHub Desktop.
Save dnomadb/aec973275faaadebec2e to your computer and use it in GitHub Desktop.
~/tri-zilla test-agg ✗ 1h11m ⚑ ◒
▶ foo=(-b 0 0 0)
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒
▶ bar=$(printf " %s" "${foo[@]}")
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒
▶ bar=${bar:1}
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒
▶ echo $bar
-b 0 0 0
~/tri-zilla test-agg ✗ 1h13m ⚑ ◒
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment