diff options
Diffstat (limited to 'src/content/tils/2020/08/28/grep-online.adoc')
-rw-r--r-- | src/content/tils/2020/08/28/grep-online.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/tils/2020/08/28/grep-online.adoc b/src/content/tils/2020/08/28/grep-online.adoc index 7d22cf8..77363ab 100644 --- a/src/content/tils/2020/08/28/grep-online.adoc +++ b/src/content/tils/2020/08/28/grep-online.adoc @@ -13,7 +13,7 @@ some pattern but I can't, because either: Here's a simple script that allows you to overcome that problem easily: -[source,shell] +[source,sh] ---- #!/usr/bin/env bash set -eu @@ -90,7 +90,7 @@ Perform `git grep`, forwarding the remaining arguments from `$@`. Example output: -[source,shell] +[source,sh] ---- $ git search 'make get-git' https://git.zx2c4.com/cgit/ Clonage dans '/tmp/git-search/cgit'... @@ -114,7 +114,7 @@ needed. When no argument is provided, it prints the usage text: -[source,shell] +[source,sh] ---- $ git search Missing argument REGEX_PATTERN. |