TopStyle pro has some features like this in the 'style sweeper' menu...
worth checking out the free trial to see if it does exactly what you are
looking for.
--
--
Michael Evangelista
Evangelista Consulting, inc.
www.evangelistadesign.com
Custom Small Business Website Solutions
<dingbat@codesmiths.com> wrote in message
news:1127315360.073939.122390@g49g2000cwa.googlegroups.com...
> Anyone have a recommendation for a tool (Perl script would be ideal) to
> do the following:
>
> - Take a CSS file and merge any @import statements.
>
> - Whitespace compress and comment-strip the CSS
>
> - Be reliable! i.e. it should take substantial commercial-scale CSS
> files and process them reliably, without introducing further sources of
> error.
>
> Ideally it would also do the following:
>
> - Have some means (embedded flag or whatever) to leave a single
> version-control comment at the head.
>
> - Either understand, or be controllable by embedded flags so as to not
> disturb things like the Tantek Celik hack.
>
>
> I suspect I'm going to have to write it, but it would be nice to find a
> pointer to a pre-existing one. Thanks for any suggestions.
>
|