Re: Bug#203498: ITP: decss -- utility for stripping CSS tags from an HTML page.
* Sam Hocevar
| On Wed, Jul 30, 2003, Tollef Fog Heen wrote:
|
| > | And what is the point of confusing our users and cluttering the package/
| > | executable namespace with a useless program that could be replaced with
| > | a sed one-liner?
| >
| > oh? what sed one-liner would that be?
|
| That trivial one, for instance:
|
| > sed -e 's%\(<link[^>]*rel="stylesheet"[^>]*>\|<style>.*</style>\|\(style\|class\|id\)="[^"]*"\)%%g'
it doesn't handle <style/text-align: left / kind of elements either.
| It can be made better, of course. But honestly, the original DeCSS
| Perl version is an utter piece of crap, too. I now additionally object
| to the ITP on the grounds of poor software quality.
If it's going to work, it should work the right way.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
Reply to: