- From: Steven Champeon <schampeo@hesketh.com>
- Date: Tue, 15 Apr 1997 11:47:34 -0400
- To: wmperry@aventail.com, neko@greenie.muc.de (Simone Demmel)
- Cc: liam@htmlhelp.com (Liam Quinn), coop2e82@nortel.ca, sirilyan@dlcwest.com, www-html@w3.org, www-style@w3.org
At 08:21 AM 4/15/97 -0700, William M. Perry graced us with: > neko@greenie.muc.de (Simone Demmel) writes: > > ESC:g/rrggbb/s//r1g1b1/g > > You forgot: > > for x in `find . -name "*.html" -o -name "*.shtml"` > do > vi $x > # manually do your ESC:g/ blah, or use sed,etc. > done > > not exactly ideal for a sight that is several hundred or thousand pages. Aw, come on, guys. Sed? Please. perl -pi -e 's|rrggbb|r1g1b1|g' *.html perl -pi -e 's|rrggbb|r1g1b1|g' */*.html perl -pi -e 's|rrggbb|r1g1b1|g' */*/*.html perl -pi -e 's|rrggbb|r1g1b1|g' */*/*/*.html perl -pi -e 's|rrggbb|r1g1b1|g' */*/*/*/*.html perl -pi -e 's|rrggbb|r1g1b1|g' */*/*/*/*/*.html And that's just from the command line. It would only be a couple more lines to do it from a script. Things were fine before they ported Mosaic to Windows :( Hehehe. (n.b. I realize CSS is better, just having a bit of fun) S -- Steven Champeon | Negative forces have value. http://www.hesketh.com/schampeo | - Henry Adams
Received on Tuesday, 15 April 1997 11:51:21 UTC