Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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!