* coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
[deliverable/binutils-gdb.git] / bfd / scanit
CommitLineData
90f3f3e2
SC
1#!/bin/sh
2# Script to coordinate parsing of S. Chamberlain source-embedded
3# documentation markup language.
4
5# Four passes:
6# 1) awk discards lines not intended for docn, and marks blocks of
7# text with comments identifying source file;
8# 2) first sed pass interprets Chamberlain markup;
9# 3) second sed pass does cleanup that involves merging lines
10# 4) third sed pass does remaining cleans up---making {}
11# printable within examples, and eliminating empty index entries and
12# headings.
13#Third and second sed passes are separate because order of execution is hard
14#to control otherwise, making one or another of the things involving @example
15#inoperative.
16
17base=`echo $1 | cut -d '.' -f 1`
18
19awk -f awkscan $1 | \
20sed -f sedscript | \
a7f538eb 21sed -f unPROTO | \
90f3f3e2
SC
22sed -f exmerge | \
23sed -f exfilter >$base.texi
24
This page took 0.037781 seconds and 4 git commands to generate.