Skip to content

Commit 0013a6f

Browse files
committed
Add Case-Insensitive Search as an ack til
1 parent 8bfabcd commit 0013a6f

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010
For a steady stream of TILs from a variety of rocketeers, checkout
1111
[til.hashrocket.com](https://til.hashrocket.com/).
1212

13-
_520 TILs and counting..._
13+
_521 TILs and counting..._
1414

1515
---
1616

@@ -42,6 +42,7 @@ _520 TILs and counting..._
4242
### Ack
4343

4444
- [ack --bar](ack/ack-bar.md)
45+
- [Case-Insensitive Search](ack/case-insensitive-search.md)
4546
- [List Available File Types](ack/list-available-file-types.md)
4647

4748
### Chrome

ack/case-insensitive-search.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Case-Insensitive Search
2+
3+
Use the `-i` flag to perform a case-insensitive search with `ack`.
4+
5+
```bash
6+
$ ack -i easter
7+
8+
ack/ack-bar.md
9+
3:The [`ack`](https://beyondgrep.com/) utility has a fun Easter egg that dumps
10+
11+
postgres/configure-the-timezone.md
12+
18:Eastern time.
13+
```
14+
15+
If you are a Vim user, you may be familiar with `smart-case`. The
16+
`--smart-case` option is a related Ack feature worth checking out.
17+
18+
See `man ack` for more details.

0 commit comments

Comments
 (0)