diff options
author | Hans-Christoph Steiner <hans@eds.org> | 2019-11-27 12:59:04 +0100 |
---|---|---|
committer | Hans-Christoph Steiner <hans@eds.org> | 2019-12-10 16:06:53 +0100 |
commit | 9c86f54ba07355a968f982aed295e8b6597b4b89 (patch) | |
tree | fe2954f48bbcf92ff2f7394210ebd00701a7f3d8 /version-spec.txt | |
parent | 68437951a3f758475d24b872c5b66c6f227b3ae5 (diff) | |
download | torspec-9c86f54ba07355a968f982aed295e8b6597b4b89.tar.gz torspec-9c86f54ba07355a968f982aed295e8b6597b4b89.zip |
convert text blocks into widely compatible "blockquote" syntax
This only adds newline characters to make the existing text blocks act like
"blockquote" or "code block" syntax in Markdown, asciidoc, and others.
This was accomplished by manually reviewing the output of this script:
```bash
for f in *.txt; do
cat $f | python -c "import sys,re;print(re.sub(r'(\n {0,3}[^ \n][^\n]*\n)( {4,}[^\n]*)', r'\1\n\2', sys.stdin.read()))" > ${f}.tmp
mv ${f}.tmp $f
done
```
Diffstat (limited to 'version-spec.txt')
-rw-r--r-- | version-spec.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/version-spec.txt b/version-spec.txt index f4db300..e7f855c 100644 --- a/version-spec.txt +++ b/version-spec.txt @@ -4,7 +4,9 @@ 1. The Old Way Before 0.1.0, versions were of the format: + MAJOR.MINOR.MICRO(status(PATCHLEVEL))?(-cvs)? + where MAJOR, MINOR, MICRO, and PATCHLEVEL are numbers, status is one of "pre" (for an alpha release), "rc" (for a release candidate), or "." for a release. As a special case, "a.b.c" was equivalent to @@ -21,7 +23,9 @@ 2. The New Way After 0.1.0, versions are of the format: + MAJOR.MINOR.MICRO[.PATCHLEVEL][-STATUS_TAG][ (EXTRA_INFO)]* + The stuff in parentheses is optional. As before, MAJOR, MINOR, MICRO, and PATCHLEVEL are numbers, with an absent number equivalent to 0. All versions should be distinguishable purely by those four |