Suggestion : a more consistant class-to-includefile mapping
wim delvaux
wim.delvaux at adaptiveplanet.com
Sat Feb 3 05:21:31 PST 2007
On Friday 02 February 2007 09:26:24 Francesco Montorsi wrote:
> wim delvaux ha scritto:
> > What I did now is run a script over the html documentation and scan for
> > TITLE and Include Files and generate all 300-ish include files from
> > there. works like a charm.
>
> great!
>
> I'm curious - how big (in bytes) is the set of files created by the scrip=
t?
> Also, which language did you use for the script?
27 bytes each 447 files generated
>
> To wx-dev: I'd say that since the script has already been written and wor=
ks
> perfectly, this would be a zero-effort patch, both for intial and
> maintainance load...
I attached the 900-byte script (It uses awk because of context based search =
but it remains trivial)
W
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genwxl.sh
Type: application/x-shellscript
Size: 740 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070203/23=
d90939/genwxl.bin
-------------- next part --------------
/<title>[^<]*<\/title>/ { printf "TITLE=3D\"%s\"\n",$0; }
/Include files/ {
getline l2; =
printf "INCL=3D\"%s\"\n",l2; =
exit 0;
}
More information about the wx-users
mailing list