mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 10:02:02 -04:00
Don't escape forward slash in grep expression
This commit is contained in:
parent
cc4d43f4c5
commit
3a231d7cee
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ printf "%s\n" "${repoUrls}" | while IFS= read -r repoUrl; do
|
||||||
|
|
||||||
# get the last segment of the dc:identifier from the metadata
|
# get the last segment of the dc:identifier from the metadata
|
||||||
properName="$(git -C "${repoName}" show HEAD:src/epub/content.opf |
|
properName="$(git -C "${repoName}" show HEAD:src/epub/content.opf |
|
||||||
grep -oE "<dc:identifier id=\"uid\">url:https://standardebooks.org/ebooks/[^<]+<\/dc:identifier>" |
|
grep -oE "<dc:identifier id=\"uid\">url:https://standardebooks.org/ebooks/[^<]+</dc:identifier>" |
|
||||||
sed -E "s/<[^>]+?>//g" |
|
sed -E "s/<[^>]+?>//g" |
|
||||||
sed -E "s|url:https://standardebooks.org/ebooks/||g" |
|
sed -E "s|url:https://standardebooks.org/ebooks/||g" |
|
||||||
sed -E "s|/|_|g").git"
|
sed -E "s|/|_|g").git"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue