Skip to content

Instantly share code, notes, and snippets.

@codeword
Created April 10, 2013 02:23
Show Gist options
  • Save codeword/5351256 to your computer and use it in GitHub Desktop.
Save codeword/5351256 to your computer and use it in GitHub Desktop.
cat a file with line numbers and make the output green
ruby -e 'puts "\e[32m#{`cat -n spec/controllers/doubles_matches_controller_spec.rb`}\e[0m "'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment