#!/bin/bash # THIS would be much easier with a ruby script that parsed each .h/.cpp pair # and created a
.h file | Functions |
---|---|
$b | " # portion of file inside namespace html_nsp=`cat $h | \ perl -ne 'BEGIN{$p = 0} $o=$p;$p ^= $_=~"[{}]";print if $o && $p;' | \ sed -e "s/\</g" | sed -e "s/>/\>/g" | sed -e "s/%/%%/g" | \ sed -e "s/^\( *[^ \/].*\)$/$html_nsp | " # Try to find functions and corresponding comments echo "
See also: tutorial, style guidelines, file formats
" echo "Automatically generated on `date` by scripts/doc.sh.
" echo "