mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add Case-Insensitive Search as an ack til
This commit is contained in:
18
ack/case-insensitive-search.md
Normal file
18
ack/case-insensitive-search.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user