root/applications/bdmtoolbox/doc/from_bdm/process_class.sh @ 1110

Revision 1109, 0.6 kB (checked in by miro, 14 years ago)

templated classes remain in filtered annotated.html file

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3CLASS=$1
4
5cat ../../../../library/doc/html/hierarchy.html \
6| html2text -nobs \
7| tail -n +13 \
8| head -n -2 \
9| sed 's/^\( *\). /\1  /' \
10| sed 's/      / /g' \
11>tmp__hierarchy
12
13cat tmp__hierarchy \
14| ./class_hierarchy.pl --class=$CLASS \
15| sed 's/ *\(.*\)/\1/' \
16> tmp__classes
17
18cat tmp__classes | ./classnames2files.pl | xargs tidy -modify -asxhtml 2>/dev/null
19
20cat tmp__classes | while read line
21    do ./filter_html.pl --class=$line
22done
23
24cat tmp__classes | xargs ./filter_annotated.pl
25
26CLS_DEF=`echo $CLASS | sed "s/::/_/g"`
27cp ../html/bdm_doc/annotated.html ../html/bdm_doc/annotated_$CLS_DEF.html
Note: See TracBrowser for help on using the browser.