[Gllug] I know this is a bit of a n00b question

Ian Norton bredroll at darkspace.org.uk
Sun Oct 12 15:02:05 UTC 2003


how about simply 

sed s/password/newpassword/ file.pl 

?

On Tue, Oct 07, 2003 at 08:56:18PM +0100, Adrian McMenamin wrote:
> But I want to do search and replace on the command line with a whole load of 
> perl files (they have hard coded passwords etc in them and I am releasing the 
> code under the GPL) without writing a perl script to do it.
> 
> How is it done?
> 
> Adrian
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS dpu s--: a-- C++++ UL++ P+++ L+++ E--- W-- N+ o K w---
O M-- V-- PS++ PE-- Y+ PGP+ t+++ 5++ X++ R+++ !tv b DI D----
G++ e+ h++ r++ y+++
------END GEEK CODE BLOCK------
----- Message of the Hour ------
Moooo :-)

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list