Skip to content

Commit

Permalink
README: simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontaine committed Oct 24, 2020
1 parent 06cbc93 commit 4b740bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<img align="right" width="150" src="./doc/grapes.png"/>

# Grape
**Grape** is a syntax-aware `grep`-like utility for Clojure code. It allows one to search for code
**Grape** is a syntax-aware `grep`-like utility for Clojure code. It allows you to search for code
patterns using Clojure structures.

## Command-line
```
$ grape [options] <pattern> <file> [<file> ...]
```

For example, to find all usages of `map` called with a function and two sequences in `grape`’s own code:
For example, to find all usages of `map` called with three arguments in `grape`’s own code:

```
% grape '(map $ $ $)' src
Expand All @@ -25,11 +25,10 @@ Options:
* `-u`, `--unindent`: un-indent matches.

### Install
Either get the standalone binary (faster) or a jar (slower) from the [Releases page][releases].
Either get the standalone binary (faster) or a jar from the [Releases page][releases].

[releases]: https://github.com/bfontaine/grape/releases


If you have [Homebrew](https://brew.sh), you can install it like so:
```bash
brew install bfontaine/utils/grape
Expand Down

0 comments on commit 4b740bc

Please sign in to comment.