aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2024-02-17 15:15:16 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2024-02-17 15:15:16 +0100
commitd33704c3ef31ba552bb5e65a96e0ed68d4e062b9 (patch)
tree8e9abd1dd16bbeff5c26e32ad95b01b5c16c8a3b
parent8238a80767266c5936a0119cc11ba6622dd4f56f (diff)
downloadkursg-master.tar.gz
kursg-master.tar.bz2
kursg-master.zip
fix stray '\' in grepHEADmaster
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rwxr-xr-xkursg2
1 files changed, 1 insertions, 1 deletions
diff --git a/kursg b/kursg
index 29cc374..a4b9589 100755
--- a/kursg
+++ b/kursg
@@ -141,7 +141,7 @@ get_kursg_meta()
skip_last_chars=1
elif [ "${ext}" = "html" ] || [ "${ext}" = "htm" ]
then
- tmp="$(grep "^<\!-- \[kursg-meta:${field}\]" "${file}" | cut -f3- -d\ )"
+ tmp="$(grep "^<"'!'"-- \[kursg-meta:${field}\]" "${file}" | cut -f3- -d\ )"
skip_last_chars=4
elif [ -d "${file}" ]
then