Skip to content
Snippets Groups Projects
Verified Commit df9b4d50 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

find-arch-on-crt.sh: adjust for patsub_replacement

This shell behavior[1] in Bash 5.2 "expands occurrences of '&' in the
replacement string of pattern substitution to the text matched by the
pattern" but we want literal ampersands so escape them.

[1] https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
parent 90c28dc5
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ readonly DOMAINS=(
archlinux.page
)
readonly LOOKUP_URLS=(
"${DOMAINS[@]/#/https://crt.sh/?exclude=expired&deduplicate=Y&output=json&q=}"
"${DOMAINS[@]/#/https://crt.sh/?exclude=expired\&deduplicate=Y\&output=json\&q=}"
)
names() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment