Here's a little program which converts mac resources to Xpm icons.

It's like Kevin Samborn's perl script, except that it generates
minimal files with only the colors used, and handles the whole
icon family (ICN#, ics#, icl4, ics4, icl8 and ics8) plus dialog
icons and pointers (ICON, SICN and CURS).

The program is a trivial translator (using yacc/lex), and should
work ok with any version of yacc or lex (including all GNU and
byacc derivatives).

As with Kevin's script, you have to run the file whose resources you
want to extract through SADeRez. SADeRez will read any mac file with
a resource fork and convert its resources into C source code. SADeRez
is available by anonymous ftp from bric-a-brac.apple.com (130.43.2.3)
in pub/nerdtools/nosource.

Read the man page for usage. Installation is by Imakefile.

JASON PATTERSON  (jasonp@fitmail.qut.edu.au)
