Hello,
What is the best way do to search and replace operation on a whole directory on a UNIX
box?
Sed?
Awk?
Perl?
I know this is wrong, what I want to do is a search and replace,
find '../forum_idx.pl' and replace with '../forum_idx.pl'
I have to hit a whole directory with this change, (and it would be a valuable skill to
know how to this)
Here is my starting point:
perl -e 'foreach $file (glob("*")) {grep '../forum_idx.pl'
'../cgi-bin/forum_idx.pl');}'
Thanks for your help,
Dave
*====================================================*
* Cora Connection Your West African Music Source *
* http://www.coraconnection.com/ *
* Resources, Recordings, Instruments & More! *
*====================================================*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]