Skip to content

Instantly share code, notes, and snippets.

@robertpfeiffer
Created July 26, 2010 11:26
Show Gist options
  • Select an option

  • Save robertpfeiffer/490437 to your computer and use it in GitHub Desktop.

Select an option

Save robertpfeiffer/490437 to your computer and use it in GitHub Desktop.
map() {
while read line ; do
$1 "$line";
done;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment