Skip to content

Instantly share code, notes, and snippets.

@timruffles
Created December 8, 2010 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timruffles/733186 to your computer and use it in GitHub Desktop.
Save timruffles/733186 to your computer and use it in GitHub Desktop.
Have a lot of failing things from cuce and can't be bothered to re-run? Copy this out of terminal, paste into a variable, and run this one liner'
# assign failers via export FAILERS = '
# paste after opening the quote, and close after the pasted contents
echo $FAILERS | ruby -e 'puts STDIN.read.split("cucumber").map {|l| l.gsub(/^ (\S*):\d*.*/,"\\1")}.uniq.join(" ")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment