On 08/11/2003, at 6:23 PM, Remi Mommsen wrote:
Hi,
I'd try it with the rpl (RePLace) command available from fink package rpl. See 'man rpl' for details.
HTH, Remi
On Friday, November 7, 2003, at 11:04 PM, Jeremy Higgs wrote:
Hi everyone!
Does anyone have a script that would allow me to change the email listed in each of the .info files for packages I maintain? I've done a little bit of simple shell scripting, so I was going to do it that way using a whole lot of for loops, but I'm not sure how to do it completely. If anyone has a script already (I remember some developers changing emails before) that I could look at, that would be great!
I've got this so far, but I'm not sure if it will work (and it's not finished yet, obviously):
#!/bin/sh
DIR = 10.2 10.2-gcc3.3 10.3
for dist in $DIR do for tree in dist do for branch in tree do cd finkinfo; if (tree == local) then for file in `ls -1 *.info` do <insert sed command here> done else for folder in `ls -1 .` do <insert sed command here> done done done done
Can anyone help me out?
Thanks a lot!
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
--------------------------------------------------------------------- Failure is not an option. It comes bundled with your Microsoft product. (Ferenc Mantfeld)
********************************************************************* Remigius K. Mommsen e-mail: [EMAIL PROTECTED] University of California, Irvine URL: http://cern.ch/mommsen c/o SLAC voice: ++1 (650) 926-3595 2575 Sand Hill Road #35 fax: ++1 (650) 926-3882 Menlo Park, CA 94025, US home: ++1 (650) 233-9041 *********************************************************************
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel