https://github.com/gsquire/lsgrep
A simple Ruby script to help avoid using grep with ls
https://github.com/gsquire/lsgrep
Last synced: about 1 year ago
JSON representation
A simple Ruby script to help avoid using grep with ls
- Host: GitHub
- URL: https://github.com/gsquire/lsgrep
- Owner: gsquire
- Created: 2013-03-29T22:48:35.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-29T22:54:22.000Z (about 13 years ago)
- Last Synced: 2025-02-01T18:45:59.173Z (over 1 year ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A simple script to help search for files by a fixed string or a regular expression.
You invoked it by typing:
ruby lsgrep.rb directory -f foo
OR
ruby lsgrep.rb directory -r bar
The -f option allows for fixed strings and -r for a regular expression. Don't parse
ls, just use this instead!