aboutsummaryrefslogtreecommitdiff
path: root/_tils/2020-08-28-grep-online-repositories.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-28 08:02:48 -0300
committerEuAndreh <eu@euandre.org>2020-08-28 08:02:48 -0300
commit6778187b35a625590d21aae4d0d86ed5b8448127 (patch)
tree13a0ebdcb95c523f0389d80128c74739ec1976fe /_tils/2020-08-28-grep-online-repositories.md
parentTIL grep: split output blocks (diff)
downloadeuandre.org-6778187b35a625590d21aae4d0d86ed5b8448127.tar.gz
euandre.org-6778187b35a625590d21aae4d0d86ed5b8448127.tar.xz
TIL git grep: Escape $(git rev-list --all)
Diffstat (limited to '_tils/2020-08-28-grep-online-repositories.md')
-rw-r--r--_tils/2020-08-28-grep-online-repositories.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_tils/2020-08-28-grep-online-repositories.md b/_tils/2020-08-28-grep-online-repositories.md
index 4b972fd..f9ef114 100644
--- a/_tils/2020-08-28-grep-online-repositories.md
+++ b/_tils/2020-08-28-grep-online-repositories.md
@@ -38,7 +38,7 @@ Usage:
Examples:
Searching "make get-git" in cgit repository:
git search 'make get-git' https://git.zx2c4.com/cgit/
- git search 'make get-git' https://git.zx2c4.com/cgit/ -- $(git rev-list --all)
+ git search 'make get-git' https://git.zx2c4.com/cgit/ -- \$(git rev-list --all)
EOF
exit 2
}