source: draft-ietf-httpbis/latest/common-abnf.sh @ 2629

Last change on this file since 2629 was 2629, checked in by julian.reschke@…, 6 years ago

insert RFC numbers (#553)

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