Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsquire/lsgrep
A simple Ruby script to help avoid using grep with ls
https://github.com/gsquire/lsgrep
Last synced: 30 days 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-29T22:54:22.000Z (over 11 years ago)
- Last Synced: 2023-04-10T02:34:46.578Z (over 1 year ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 1
- 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 barThe -f option allows for fixed strings and -r for a regular expression. Don't parse
ls, just use this instead!