https://github.com/riverrun/sillysearch
A code search / replace tool in Haskell
https://github.com/riverrun/sillysearch
Last synced: about 2 months ago
JSON representation
A code search / replace tool in Haskell
- Host: GitHub
- URL: https://github.com/riverrun/sillysearch
- Owner: riverrun
- License: bsd-3-clause
- Created: 2016-10-07T00:48:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-20T09:47:49.000Z (over 8 years ago)
- Last Synced: 2025-12-26T09:35:09.966Z (6 months ago)
- Language: Haskell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sillysearch
A code repository search / replace tool written in Haskell.
Sillysearch is designed to search for, or replace, text in code repositories,
working through subdirectories recursively.
It uses regular expressions to search for, or replace, text.
## Installation
If you are using stack, just clone the repository and run `stack install`.
## Use
To search for the text "wisible" in the current directory, run:
sillysearch wisible
Add `-d name_of_directory` to the above command to search a different directory.
To replace "wisible" with "risible", run:
sillysearch wisible -r risible
To only search files with a certain file extension, use the `-x` option.
sillysearch wisible -x py
sillysearch wisible -x ex -x eex
Run `sillysearch -h` to see all the options.