Skip to content

*: fix curly brace syntax, nested placeholders and mismatched brackets #17210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

Managor
Copy link
Member

@Managor Managor commented Jul 12, 2025

These were found by running grep -r {{{ and grep -r }}} in the project
#17107

Even more found with
find . -type f -print0 | xargs -0 awk '{ o=gsub(/{/,"&"); c=gsub(/}/,"&"); if(o!=c) print FILENAME ": " $0 }'
find . -type f -print0 | xargs -0 awk '{ o=gsub(/\[/,"&"); c=gsub(/\]/,"&"); if(o!=c) print FILENAME ": " $0 }'
find . -type f -print0 | xargs -0 awk '{ o=gsub(/\(/,"&"); c=gsub(/\)/,"&"); if(o!=c) print FILENAME ": " $0 }'
find . -type f -print0 | xargs -0 awk '{ q=gsub(/"/,"&"); if(q % 2 != 0) print FILENAME ": " $0 }'

Also found an interesting case where a < was not inside " " with this
find . -type f -print0 | xargs -0 awk '{ o=gsub(/</,"&"); c=gsub(/>/,"&"); if(o!=c) print FILENAME ": " $0 }' | cut -d : -f 2- | grep -v '\.' | grep "[a-zA-Z]<"

@github-actions github-actions bot added mass changes Changes that affect multiple pages. page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers. labels Jul 12, 2025
@Managor Managor changed the title rpi-cam-still, jello, dropdb, aws-eks, sfdisk, hyperfine, quarto: fix curly bracket syntax and nested placeholders rpi-cam-still, jello, dropdb, aws-eks, sfdisk, hyperfine, quarto, for: fix curly bracket syntax and nested placeholders Jul 12, 2025
@Managor Managor changed the title rpi-cam-still, jello, dropdb, aws-eks, sfdisk, hyperfine, quarto, for: fix curly bracket syntax and nested placeholders rpi-cam-still, jello, dropdb, aws-eks, sfdisk, hyperfine, quarto, for, coproc: fix curly bracket syntax and nested placeholders Jul 12, 2025
@Managor
Copy link
Member Author

Managor commented Jul 12, 2025

Oddly I came to doing this completely independent of #17198

@Managor Managor changed the title rpi-cam-still, jello, dropdb, aws-eks, sfdisk, hyperfine, quarto, for, coproc: fix curly bracket syntax and nested placeholders *: fix curly bracket syntax, nested placeholders and mismatched brackets Jul 12, 2025
@Managor Managor requested a review from aminelch July 12, 2025 03:38
@Managor Managor changed the title *: fix curly bracket syntax, nested placeholders and mismatched brackets *: fix curly brace syntax, nested placeholders and mismatched brackets Jul 12, 2025
@KristopherLeads
Copy link
Collaborator

@Managor do you think there are any more upcoming edits, or are we ready to commit?

@Managor
Copy link
Member Author

Managor commented Jul 15, 2025

@KristopherLeads Nothing that comes to mind. I'll let you do the honors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mass changes Changes that affect multiple pages. page edit Changes to an existing page(s). review needed Prioritized PRs marked for reviews from maintainers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants