Skip to content

Instantly share code, notes, and snippets.

@drio
Created April 13, 2010 19:46
Show Gist options
  • Save drio/365007 to your computer and use it in GitHub Desktop.
Save drio/365007 to your computer and use it in GitHub Desktop.
extracting bfast masks from sh script
cat cluster_JOBS.sh | grep -E "\-e" | ruby -ne 'o = $_[/\.([01]+)\./, 1]; puts o if o' | head -10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment