in reply to no proxy - yes proxy Netscape
Nice little trick, but I'm sure the first could be written as a pure perl script (I don't like the idea of launching an interpreter from an interpreter). Of course, I can't be bothered to... because I can't remember an easy way of doing a read and a write at (about) the same time.
*sigh*
----
Arrr, Jim lad.
RE: RE: no proxy - yes proxy Netscape
by gregorovius (Friar) on May 25, 2000 at 22:54 UTC
|
Well, you could keep it a one-liner and call exec to run
netscape, still taking advantage of the cool -pi
options:
perl -pi -e 's/^user_pref\("network\.proxy\.type".+$//; END{exec netsc
+ape}' ~/.netscape/preferences.js
| [reply] [d/l] |
|