[CLUE-Tech] apache DocumentRoot

Jeffery C. Cann jccann at home.com
Thu Mar 22 19:27:56 MST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 22 March 2001 10:16, Cyberclops wrote:
> This is one of the reasons why the /cli/suks/imo

Hi,

You must never have had to make the same edit change in 3000 documents.  Try 
to do that without a CLI and you'll get carpal tunnel from using your mouse 
for the next 30 hours.  With a simple for loop and the CLI: I can do it with 
one line of code:

$ for file in `ls /dev/src/*`
> do
>	sed -e "s/foo/bar/; ... " 
>done

Using PERL, I can do the same thing with one command:

$  perl -pi -e "s/foo/bar/;" /dev/src/*

Possibly you are not aware of the potential and power of the CLI and that is 
why you do not like it.  You may also want to try another type of shell.

My 0.02
Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjq6tK8ACgkQw3/GBQk72kCAnwCeMOh5qNNg/FejydhgJllTuf1z
QDoAn1oj2Y6Lriiz79GJ/onKV9y38jMH
=1cUL
-----END PGP SIGNATURE-----



More information about the clue-tech mailing list