Skip to content

Instantly share code, notes, and snippets.

@sam
Created January 19, 2012 19:46
Show Gist options
  • Save sam/1642129 to your computer and use it in GitHub Desktop.
Save sam/1642129 to your computer and use it in GitHub Desktop.
ls with grep
(master ✓) sam.github.com ls | grep -E '^(R|G)'
Gemfile
Gemfile.lock
Rakefile
(master ✗) sam.github.com ls | grep -E '^(Gem|CN)'
CNAME
Gemfile
Gemfile.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment