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

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

remove unneeded debugging 'tee'

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