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

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

Restructure 'Status Code and Reason Phrase', replace ABNF listing all HTTP/1.1 status codes with an Overview table, remove some redundant text (see #137)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 524 bytes
Line 
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" 
16done | tee foobar | \
17        fgrep -v ", defined in [Part" | \
18        fgrep -v "Method = %x" | \
19        sort | uniq | \
20        $bap/bap -k -i $bap/core.abnf
Note: See TracBrowser for help on using the repository browser.