Skip to content

Commit

Permalink
fix sed when converting adoc to avoid multiple substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
pwright committed Apr 9, 2024
1 parent 26bee90 commit 89fc0b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions convert-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ python python/nested-numbers.py input/docs/operator/

# To workaround transform interpreting {{.ID}} as a var:

sed -i 's/.ID/{.ID}/g' input/docs/cli/podman.md
sed -i 's/.Image/{.Image}/g' input/docs/cli/podman.md
sed -i 's/.Labels/{.Labels}/g' input/docs/cli/podman.md
sed -i 's/.ID}} /{.ID}}} /g' input/docs/cli/podman.md
sed -i 's/ {{.Image/ {{{.Image}/g' input/docs/cli/podman.md
sed -i 's/ {{.Labels/ {{{.Labels}/g' input/docs/cli/podman.md

# To workaround https://github.com/skupperproject/skupper-website/issues/81
sed -i 's/ | /| /g' input/docs/kubernetes/deployment-concerns.md

0 comments on commit 89fc0b9

Please sign in to comment.