Sometime just before Sunday 28 April 2002 05:13 pm Bob Miller Wrote about:[EUG-LUG:2461] Re: asynchronous file access: ? use chattr +S ?
: *The easiest* way it to say, "Hey, Seth, can you change some web pages : for me?" That's not very fast -- it may take several weeks, depending : on how many S+++++'s you have in your EUGLUG code. Why would seth want to do any of my html? He's got enough to do... The following suggestions look interesting... I tried kahli's perl line.. Those are very different looking :) Ill try them too :) Jamie : : *The second easiest* way is something like this. : : Dup alt tag to title tag: : : find /var/www/htdoc -type f | xargs perl -p -i.orig -e \ : 's/alt\=\"([^\"]*)\"/alt="$1" title="$1"/gi' : : Replace alt tag w/ title tag: : : find /var/www/htdoc -type f | xargs perl -p -i.orig -e \ : 's/alt\=\"([^\"]*)\"/title="$1"/gi' : : That isn't smart enough to check that that alt tag is inside an : <img> directive or inside any directive, for that matter. : : But this is... : : s/\<img [^\>]*alt=\"([^\"]*)\"/title="$1"/gis : : Note the "s" character at the end. It makes the whole thing : work even if the tag spans multiple lines. -- for setting/changing your eug-lug mailinglist subscription use this website: http://wWw.RockSolidNetworks.com/eug-lug.html no microsoft products were used to produce this message.
