Skip to content

Instantly share code, notes, and snippets.

@thinkerbot
Created October 22, 2012 15:13
Show Gist options
  • Save thinkerbot/3931961 to your computer and use it in GitHub Desktop.
Save thinkerbot/3931961 to your computer and use it in GitHub Desktop.
Snippet examples of POSIX chores
# path=${PATH// /_}
# find ${path//:/ } -name 'comv-*' |
printf "%s" "$PATH" | sed -e 's/:\{1,\}/\
/g' | while read pathdir
do find "$pathdir"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment