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
mark RFC2119 keywords with **<>** to mmark turns them into BCP14 code #357
Conversation
Rebased on top of #361 as it should be the first thing merged before we actually change the content of the files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a Mac, this works on a Mac if I install brew install gnu-sed coreutils
and then change the Makefile to use date->gdate, head->ghead, sed->gsed. The changes in the xml from draft-ietf-cellar-ebml-18.xml to rfc8794.xml look good to me.
Makefile
Outdated
-e 's@BCP 14@BCP\ 14@' \ | ||
-e 's@<dd><t>@<dd>@' \ | ||
$< | \ | ||
awk 1 RS='</t>\n</dd>' ORS='</dd>' | head -n -1 > $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, same issue, works with gnu head but not macOS head.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to find a way to run a macOS shell. This kind of discrepancies can be detected in bootstrap and adjust the commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that that needs to block the PR. I can see that it works and hope to replace the head and sed with a process that works well natively on mac.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. I tried with FreeBSD but still have to come up with a proper solution (otherwise a better way to remove the </t>
from </t>\n</dd>
than awk would be better). xsltproc is also not an option as it will mess the newlines in the text (I think)
No description provided.