aboutsummaryrefslogtreecommitdiff
path: root/bin/pb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-06-01 17:52:57 -0300
committerEuAndreh <eu@euandre.org>2022-06-01 17:52:57 -0300
commit1af34c442c178fd528faf6e64f1decc9ff105632 (patch)
tree40cc8ee7a3bc1056da17666000da8fe5fe264b90 /bin/pb
parentsrc/development/dynmake.sh: Base tool to do dynamic Makefiles without proprie... (diff)
downloadeuandre.org-1af34c442c178fd528faf6e64f1decc9ff105632.tar.gz
euandre.org-1af34c442c178fd528faf6e64f1decc9ff105632.tar.xz
bin/pb: Allow input to contain "```" without prior escaping
Diffstat (limited to 'bin/pb')
-rwxr-xr-xbin/pb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pb b/bin/pb
index 6ef0a22..0e71da5 100755
--- a/bin/pb
+++ b/bin/pb
@@ -154,7 +154,7 @@ cat <<-EOF | vipe > "$OUT-tmp"
---
\`\`\`$LANGUAGE
- $(cat)
+ $(cat | sed "s|^```\$|\\\\\`\\\\\`\\\\\`|')
\`\`\`
EOF