[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Steve Marvell wrote: > With Perl :) > > I take it that 23rd 10-8am is 23rd 22:00 to 24th 08:00 and should be > turned in, to 24th 09:00 19:00 and hence 24th 9-7 > > "6th off" or "27th - 31st off" becomes what? > > Unchanged I guess, or as a council of excessive perfection would mutate into 27th off 28th off 29th off etc. I had been contemplating presenting it as a table rather than a string. > If you can snswer those and give me the bit before the sed, I'll do it > for you. > > Steve > > > wget --output-document=rosta 'http://mikeyandlouisa.spaces.live.com/Lists/cns!81ED95541674597C!505/' cat rosta |grep Lou\'s|cut -c31-5000|sed 's/<\/td><td class="dlLists_subItem"><\/td><td class="dlLists_subItem">/\:\ /g'|sed 's/<\/td>//g' echo "-----------------" cat rosta | grep Mikey\'s|cut -c31-5000 |sed 's/<\/td><td class="dlLists_subItem"><\/td><td class="dlLists_subItem">/\:\ /g'|sed 's/<\/td>//g' rm rosta It is pulling the rota information the kids put up on their myspace page so that we know when a good time to try to talk to them is. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html