You are not logged in.
This is yet another by-product of my getting sidetracked while working on something else. It is a simple command-line stream parser that operates on STDIN and writes to STDOUT. It produces CSS that is easy to read.
The project page is http://xyne.archlinux.ca/projects/beautify-css/
Here's the Arch Linux forum style sheet before and after. Note the sorted selectors and declarations.
More examples will be found here if I add any.
Let me know if you find any bugs. The W3C CSS3 syntax draft is unclear (to me at least) on how to define the CHAR token parser, so after trying various things I have resorted to trial-and-error (see the commented code if you are interested).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline