1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00
Files
til/ack/case-insensitive-search.md
2017-04-01 14:46:38 -05:00

19 lines
438 B
Markdown

# Case-Insensitive Search
Use the `-i` flag to perform a case-insensitive search with `ack`.
```bash
$ ack -i easter
ack/ack-bar.md
3:The [`ack`](https://beyondgrep.com/) utility has a fun Easter egg that dumps
postgres/configure-the-timezone.md
18:Eastern time.
```
If you are a Vim user, you may be familiar with `smart-case`. The
`--smart-case` option is a related Ack feature worth checking out.
See `man ack` for more details.