summaryrefslogtreecommitdiff
path: root/src/content/tils/2020/08/28/grep-online.adoc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-16 11:20:43 -0300
committerEuAndreh <eu@euandre.org>2025-04-16 11:20:43 -0300
commitd36c2e459a74ec67e523539eb98b78b95b01432a (patch)
treea7099fbfbdab6a21f59b6efe095bffb40ceae646 /src/content/tils/2020/08/28/grep-online.adoc
parentsrc/content/style.css: Show header on hover only (diff)
downloadeuandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.gz
euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.xz
src/content/: Normalize [source,$lang] code blocks
Diffstat (limited to 'src/content/tils/2020/08/28/grep-online.adoc')
-rw-r--r--src/content/tils/2020/08/28/grep-online.adoc6
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.