On 2011/04/15 10:20 (GMT-0400) Keith Purtell composed:
I've found a variety of online tools that will compress the contents of
my style sheet. But what I really want is software on my PC (Windows XP)
that will let me both compress and expand. (I prefer to edit the CSS in
expanded form.) Is there such an animal out there?
Compression is a big PITA. e.g.
https://bugzilla.mozilla.org/show_bug.cgi?id=605865
It saves so little, why not just say no to CSS compression? There's a lot
more to save by eliminating replication in most CSS files. I wish someone
would explode a bomb on Yahoo!'s annual meeting. ;-)
If you must:
sed 's/}/}\n/g' inputfile > outputfile
does the job for me on Linux. Something similar should work on Windows or Mac
with their versions of sed and their different EOL methodologies.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/