Ben Chuanlong Du's Blog

It is never too late to learn.

The ripgrep Command Is a Better Alternative to the find Command

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Debian/Ubuntu Based Linux Distributions

wajig install ripgrep 

Installation on macOS

brew install ripgrep 

Usage

List all files which would have been searched by ripgrep.

In [1]:
rg --files
ripgrep-is-a-better-alternative-to-find.ipynb

Recursively search the current directory for the pattern ripgrep in file content.

In [3]:
rg ripgrep
ripgrep-is-a-better-alternative-to-find.ipynb
10:    "- Title: The ripgrep Command Is a Better Alternative to the find Command\n",
11:    "- Slug: ripgrep-is-a-better-alternative-to-find\n",
13:    "- Tags: Computer Science, programming, command, command-line, find, ripgrep, Rust, rg\n"
30:    "    wajig install ripgrep \n",
34:    "    brew install ripgrep \n"
54:      "\u001b[0m\u001b[35mripgrep-is-a-better-alternative-to-find.ipynb\u001b[0m\n",
55:      "\u001b[0m\u001b[32m10\u001b[0m:    \"- Title: The \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m Command Is a Better Alternative to the find Command\\n\",\n",
56:      "\u001b[0m\u001b[32m11\u001b[0m:    \"- Slug: \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find\\n\",\n",
57:      "\u001b[0m\u001b[32m13\u001b[0m:    \"- Tags: Computer Science, programming, command, command-line, find, \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m, Rust, rg\\n\"\n",
58:      "\u001b[0m\u001b[32m30\u001b[0m:    \"    wajig install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\",\n",
59:      "\u001b[0m\u001b[32m34\u001b[0m:    \"    brew install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\"\n",
60:      "\u001b[0m\u001b[32m56\u001b[0m:      \"\\u001b[0m\\u001b[35m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find.ipynb\\u001b[0m\\n\",\n",
61:      "\u001b[0m\u001b[32m57\u001b[0m:      \"\\u001b[0m\\u001b[32m10\\u001b[0m:    \\\"- Title: The \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m Command Is a Better Alternative to the find Command\\\\n\\\",\\n\",\n",
62:      "\u001b[0m\u001b[32m58\u001b[0m:      \"\\u001b[0m\\u001b[32m11\\u001b[0m:    \\\"- Slug: \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find\\\\n\\\",\\n\",\n",
63:      "\u001b[0m\u001b[32m59\u001b[0m:      \"\\u001b[0m\\u001b[32m13\\u001b[0m:    \\\"- Tags: Computer Science, programming, command, command-line, find, \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m, Rust, rg\\\\n\\\"\\n\",\n",
64:      "\u001b[0m\u001b[32m60\u001b[0m:      \"\\u001b[0m\\u001b[32m30\\u001b[0m:    \\\"    wajig install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\",\\n\",\n",
65:      "\u001b[0m\u001b[32m61\u001b[0m:      \"\\u001b[0m\\u001b[32m34\\u001b[0m:    \\\"    brew install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\"\\n\",\n",
66:      "\u001b[0m\u001b[32m62\u001b[0m:      \"\\u001b[0m\\u001b[32m53\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\"\\n\",\n",
67:      "\u001b[0m\u001b[32m63\u001b[0m:      \"\\u001b[0m\\u001b[32m63\\u001b[0m:    \\\"- [\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m)\\\"\\n\"\n",
68:      "\u001b[0m\u001b[32m68\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\"\n",
69:      "\u001b[0m\u001b[32m85\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m *.markd\"\n",
70:      "\u001b[0m\u001b[32m95\u001b[0m:    \"- [\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m @ GitHub](https://github.com/BurntSushi/\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m)\"\n"
75:    "rg ripgrep"
87:      "\u001b[0m\u001b[32m10\u001b[0m:    \"- Title: The \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m Command Is a Better Alternative to the find Command\\n\",\n",
88:      "\u001b[0m\u001b[32m11\u001b[0m:    \"- Slug: \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find\\n\",\n",
89:      "\u001b[0m\u001b[32m13\u001b[0m:    \"- Tags: Computer Science, programming, command, command-line, find, \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m, Rust, rg\\n\"\n",
90:      "\u001b[0m\u001b[32m30\u001b[0m:    \"    wajig install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\",\n",
91:      "\u001b[0m\u001b[32m34\u001b[0m:    \"    brew install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\"\n",
92:      "\u001b[0m\u001b[32m56\u001b[0m:      \"\\u001b[0m\\u001b[35m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find.ipynb\\u001b[0m\\n\",\n",
93:      "\u001b[0m\u001b[32m57\u001b[0m:      \"\\u001b[0m\\u001b[32m10\\u001b[0m:    \\\"- Title: The \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m Command Is a Better Alternative to the find Command\\\\n\\\",\\n\",\n",
94:      "\u001b[0m\u001b[32m58\u001b[0m:      \"\\u001b[0m\\u001b[32m11\\u001b[0m:    \\\"- Slug: \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find\\\\n\\\",\\n\",\n",
95:      "\u001b[0m\u001b[32m59\u001b[0m:      \"\\u001b[0m\\u001b[32m13\\u001b[0m:    \\\"- Tags: Computer Science, programming, command, command-line, find, \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m, Rust, rg\\\\n\\\"\\n\",\n",
96:      "\u001b[0m\u001b[32m60\u001b[0m:      \"\\u001b[0m\\u001b[32m30\\u001b[0m:    \\\"    wajig install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\",\\n\",\n",
97:      "\u001b[0m\u001b[32m61\u001b[0m:      \"\\u001b[0m\\u001b[32m34\\u001b[0m:    \\\"    brew install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\"\\n\",\n",
98:      "\u001b[0m\u001b[32m62\u001b[0m:      \"\\u001b[0m\\u001b[32m56\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[35m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find.ipynb\\\\u001b[0m\\\\n\\\",\\n\",\n",
99:      "\u001b[0m\u001b[32m63\u001b[0m:      \"\\u001b[0m\\u001b[32m57\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m10\\\\u001b[0m:    \\\\\\\"- Title: The \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m Command Is a Better Alternative to the find Command\\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
100:      "\u001b[0m\u001b[32m64\u001b[0m:      \"\\u001b[0m\\u001b[32m58\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m11\\\\u001b[0m:    \\\\\\\"- Slug: \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m-is-a-better-alternative-to-find\\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
101:      "\u001b[0m\u001b[32m65\u001b[0m:      \"\\u001b[0m\\u001b[32m59\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m13\\\\u001b[0m:    \\\\\\\"- Tags: Computer Science, programming, command, command-line, find, \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m, Rust, rg\\\\\\\\n\\\\\\\"\\\\n\\\",\\n\",\n",
102:      "\u001b[0m\u001b[32m66\u001b[0m:      \"\\u001b[0m\\u001b[32m60\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m30\\\\u001b[0m:    \\\\\\\"    wajig install \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m \\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
103:      "\u001b[0m\u001b[32m67\u001b[0m:      \"\\u001b[0m\\u001b[32m61\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m34\\\\u001b[0m:    \\\\\\\"    brew install \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m \\\\\\\\n\\\\\\\"\\\\n\\\",\\n\",\n",
104:      "\u001b[0m\u001b[32m68\u001b[0m:      \"\\u001b[0m\\u001b[32m62\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m53\\\\u001b[0m:    \\\\\\\"rg \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m\\\\\\\"\\\\n\\\",\\n\",\n",
105:      "\u001b[0m\u001b[32m69\u001b[0m:      \"\\u001b[0m\\u001b[32m63\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m63\\\\u001b[0m:    \\\\\\\"- [\\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m)\\\\\\\"\\\\n\\\"\\n\",\n",
106:      "\u001b[0m\u001b[32m70\u001b[0m:      \"\\u001b[0m\\u001b[32m68\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\"\\n\",\n",
107:      "\u001b[0m\u001b[32m71\u001b[0m:      \"\\u001b[0m\\u001b[32m85\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m *.markd\\\"\\n\",\n",
108:      "\u001b[0m\u001b[32m72\u001b[0m:      \"\\u001b[0m\\u001b[32m95\\u001b[0m:    \\\"- [\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m)\\\"\\n\"\n",
109:      "\u001b[0m\u001b[32m77\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\"\n",
110:      "\u001b[0m\u001b[32m94\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m *.markd\"\n",
111:      "\u001b[0m\u001b[32m104\u001b[0m:    \"- [\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m @ GitHub](https://github.com/BurntSushi/\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m)\"\n"
116:    "rg ripgrep *.ipynb"
126:    "- [ripgrep @ GitHub](https://github.com/BurntSushi/ripgrep)"

Recursively search the current directory for the pattern ripgrep in content of files with the glob pattern *.ipynb.

In [2]:
rg ripgrep *.ipynb
10:    "- Title: The ripgrep Command Is a Better Alternative to the find Command\n",
11:    "- Slug: ripgrep-is-a-better-alternative-to-find\n",
13:    "- Tags: Computer Science, programming, command, command-line, find, ripgrep, Rust, rg\n"
30:    "    wajig install ripgrep \n",
34:    "    brew install ripgrep \n"
54:      "\u001b[0m\u001b[35mripgrep-is-a-better-alternative-to-find.ipynb\u001b[0m\n",
55:      "\u001b[0m\u001b[32m10\u001b[0m:    \"- Title: The \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m Command Is a Better Alternative to the find Command\\n\",\n",
56:      "\u001b[0m\u001b[32m11\u001b[0m:    \"- Slug: \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find\\n\",\n",
57:      "\u001b[0m\u001b[32m13\u001b[0m:    \"- Tags: Computer Science, programming, command, command-line, find, \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m, Rust, rg\\n\"\n",
58:      "\u001b[0m\u001b[32m30\u001b[0m:    \"    wajig install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\",\n",
59:      "\u001b[0m\u001b[32m34\u001b[0m:    \"    brew install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\"\n",
60:      "\u001b[0m\u001b[32m56\u001b[0m:      \"\\u001b[0m\\u001b[35m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find.ipynb\\u001b[0m\\n\",\n",
61:      "\u001b[0m\u001b[32m57\u001b[0m:      \"\\u001b[0m\\u001b[32m10\\u001b[0m:    \\\"- Title: The \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m Command Is a Better Alternative to the find Command\\\\n\\\",\\n\",\n",
62:      "\u001b[0m\u001b[32m58\u001b[0m:      \"\\u001b[0m\\u001b[32m11\\u001b[0m:    \\\"- Slug: \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find\\\\n\\\",\\n\",\n",
63:      "\u001b[0m\u001b[32m59\u001b[0m:      \"\\u001b[0m\\u001b[32m13\\u001b[0m:    \\\"- Tags: Computer Science, programming, command, command-line, find, \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m, Rust, rg\\\\n\\\"\\n\",\n",
64:      "\u001b[0m\u001b[32m60\u001b[0m:      \"\\u001b[0m\\u001b[32m30\\u001b[0m:    \\\"    wajig install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\",\\n\",\n",
65:      "\u001b[0m\u001b[32m61\u001b[0m:      \"\\u001b[0m\\u001b[32m34\\u001b[0m:    \\\"    brew install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\"\\n\",\n",
66:      "\u001b[0m\u001b[32m62\u001b[0m:      \"\\u001b[0m\\u001b[32m53\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\"\\n\",\n",
67:      "\u001b[0m\u001b[32m63\u001b[0m:      \"\\u001b[0m\\u001b[32m63\\u001b[0m:    \\\"- [\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m)\\\"\\n\"\n",
68:      "\u001b[0m\u001b[32m68\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\"\n",
69:      "\u001b[0m\u001b[32m85\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m *.markd\"\n",
70:      "\u001b[0m\u001b[32m95\u001b[0m:    \"- [\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m @ GitHub](https://github.com/BurntSushi/\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m)\"\n"
75:    "rg ripgrep"
87:      "\u001b[0m\u001b[32m10\u001b[0m:    \"- Title: The \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m Command Is a Better Alternative to the find Command\\n\",\n",
88:      "\u001b[0m\u001b[32m11\u001b[0m:    \"- Slug: \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find\\n\",\n",
89:      "\u001b[0m\u001b[32m13\u001b[0m:    \"- Tags: Computer Science, programming, command, command-line, find, \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m, Rust, rg\\n\"\n",
90:      "\u001b[0m\u001b[32m30\u001b[0m:    \"    wajig install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\",\n",
91:      "\u001b[0m\u001b[32m34\u001b[0m:    \"    brew install \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m \\n\"\n",
92:      "\u001b[0m\u001b[32m56\u001b[0m:      \"\\u001b[0m\\u001b[35m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m-is-a-better-alternative-to-find.ipynb\\u001b[0m\\n\",\n",
93:      "\u001b[0m\u001b[32m57\u001b[0m:      \"\\u001b[0m\\u001b[32m10\\u001b[0m:    \\\"- Title: The \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m Command Is a Better Alternative to the find Command\\\\n\\\",\\n\",\n",
94:      "\u001b[0m\u001b[32m58\u001b[0m:      \"\\u001b[0m\\u001b[32m11\\u001b[0m:    \\\"- Slug: \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find\\\\n\\\",\\n\",\n",
95:      "\u001b[0m\u001b[32m59\u001b[0m:      \"\\u001b[0m\\u001b[32m13\\u001b[0m:    \\\"- Tags: Computer Science, programming, command, command-line, find, \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m, Rust, rg\\\\n\\\"\\n\",\n",
96:      "\u001b[0m\u001b[32m60\u001b[0m:      \"\\u001b[0m\\u001b[32m30\\u001b[0m:    \\\"    wajig install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\",\\n\",\n",
97:      "\u001b[0m\u001b[32m61\u001b[0m:      \"\\u001b[0m\\u001b[32m34\\u001b[0m:    \\\"    brew install \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m \\\\n\\\"\\n\",\n",
98:      "\u001b[0m\u001b[32m62\u001b[0m:      \"\\u001b[0m\\u001b[32m56\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[35m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m-is-a-better-alternative-to-find.ipynb\\\\u001b[0m\\\\n\\\",\\n\",\n",
99:      "\u001b[0m\u001b[32m63\u001b[0m:      \"\\u001b[0m\\u001b[32m57\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m10\\\\u001b[0m:    \\\\\\\"- Title: The \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m Command Is a Better Alternative to the find Command\\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
100:      "\u001b[0m\u001b[32m64\u001b[0m:      \"\\u001b[0m\\u001b[32m58\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m11\\\\u001b[0m:    \\\\\\\"- Slug: \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m-is-a-better-alternative-to-find\\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
101:      "\u001b[0m\u001b[32m65\u001b[0m:      \"\\u001b[0m\\u001b[32m59\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m13\\\\u001b[0m:    \\\\\\\"- Tags: Computer Science, programming, command, command-line, find, \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m, Rust, rg\\\\\\\\n\\\\\\\"\\\\n\\\",\\n\",\n",
102:      "\u001b[0m\u001b[32m66\u001b[0m:      \"\\u001b[0m\\u001b[32m60\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m30\\\\u001b[0m:    \\\\\\\"    wajig install \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m \\\\\\\\n\\\\\\\",\\\\n\\\",\\n\",\n",
103:      "\u001b[0m\u001b[32m67\u001b[0m:      \"\\u001b[0m\\u001b[32m61\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m34\\\\u001b[0m:    \\\\\\\"    brew install \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m \\\\\\\\n\\\\\\\"\\\\n\\\",\\n\",\n",
104:      "\u001b[0m\u001b[32m68\u001b[0m:      \"\\u001b[0m\\u001b[32m62\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m53\\\\u001b[0m:    \\\\\\\"rg \\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m\\\\\\\"\\\\n\\\",\\n\",\n",
105:      "\u001b[0m\u001b[32m69\u001b[0m:      \"\\u001b[0m\\u001b[32m63\\u001b[0m:      \\\"\\\\u001b[0m\\\\u001b[32m63\\\\u001b[0m:    \\\\\\\"- [\\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\\\u001b[0m\\\\u001b[1m\\\\u001b[31m\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\\u001b[0m)\\\\\\\"\\\\n\\\"\\n\",\n",
106:      "\u001b[0m\u001b[32m70\u001b[0m:      \"\\u001b[0m\\u001b[32m68\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m\\\"\\n\",\n",
107:      "\u001b[0m\u001b[32m71\u001b[0m:      \"\\u001b[0m\\u001b[32m85\\u001b[0m:    \\\"rg \\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m *.markd\\\"\\n\",\n",
108:      "\u001b[0m\u001b[32m72\u001b[0m:      \"\\u001b[0m\\u001b[32m95\\u001b[0m:    \\\"- [\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m @ GitHub](https://github.com/BurntSushi/\\u001b[0m\\u001b[1m\\u001b[31m\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\\u001b[0m)\\\"\\n\"\n",
109:      "\u001b[0m\u001b[32m77\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m\"\n",
110:      "\u001b[0m\u001b[32m94\u001b[0m:    \"rg \u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m *.markd\"\n",
111:      "\u001b[0m\u001b[32m104\u001b[0m:    \"- [\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m @ GitHub](https://github.com/BurntSushi/\u001b[0m\u001b[1m\u001b[31mripgrep\u001b[0m)\"\n"
116:    "rg ripgrep *.ipynb"
126:    "- [ripgrep @ GitHub](https://github.com/BurntSushi/ripgrep)"

Search for the pattern ripgrep in all files with glob patterns *.ipynb or *.markdown under the directory ../../... and its sub directories.

Recursively search the directory ../../.. for the pattern ripgrep in content of files with glob pattern *.ipynb or *.markdown.

References

In [ ]:
 

Comments