Skip to content

Instantly share code, notes, and snippets.

@loganhasson
Created March 3, 2015 22:53
Show Gist options
  • Save loganhasson/c3338ac3a77a10cc1127 to your computer and use it in GitHub Desktop.
Save loganhasson/c3338ac3a77a10cc1127 to your computer and use it in GitHub Desktop.
list=(something/*/*.file)
echo 'my text' | tee echo "${list[@]}"
# one liner
list=(some/globbed/*/path/*.txt); echo 'my text' | tee echo "${list[@]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment