Last change
on this file since 2684 was
2667,
checked in by julian.reschke@…, 7 years ago
|
shorten "defined in" to "see" to avoid overlong lines in artwork (#553)
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
550 bytes
|
Rev | Line | |
---|
[1123] | 1 | #!/bin/sh |
---|
| 2 | # combine into a single ABNF |
---|
| 3 | |
---|
| 4 | bap=../../abnfparser/bap |
---|
| 5 | |
---|
| 6 | [ $# -ne 0 ] || ( echo "combine-abnf.sh file..." >&2 ; exit 2 ) |
---|
| 7 | |
---|
| 8 | echo "; the ABNF below was extracted from the IETF HTTPbis WG Internet Drafts" |
---|
| 9 | echo "; please see <http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging>" |
---|
| 10 | echo "; for copyright information." |
---|
| 11 | echo "" |
---|
| 12 | |
---|
| 13 | for i in "$@" |
---|
| 14 | do |
---|
| 15 | $bap/bap -i $bap/core.abnf -n "$i" |
---|
[1216] | 16 | done | \ |
---|
[1123] | 17 | fgrep -v ", defined in [Part" | \ |
---|
[2629] | 18 | fgrep -v ", defined in [RFC723" | \ |
---|
[2667] | 19 | fgrep -v ", see [RFC723" | \ |
---|
[1123] | 20 | sort | uniq | \ |
---|
| 21 | $bap/bap -k -i $bap/core.abnf |
---|
Note: See
TracBrowser
for help on using the repository browser.