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
doneCan 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
