FasdUAS 1.101.10 k l r J   J   m m  m m m m+  J m  m  m  !" !m  "#$ #m  $% %m  o 0mylinesmyLines&' &l( (r)* )m *o 0 matchcount matchCount'+, +l,-. -l / /r 01 0I2 .sysoexecTEXTTEXT 2m3 3a[curl 'http://www.schok.co.uk/lottery/lottery.xml' | grep 'The Main UK Lottery Draw Numbers' 1o 0 thestring theString.45 4l6 6 log theString578 7l!59 9r!5:; :J!1<<=> =m!"? ? >@A @m"#B B Draw numbers are ACD Cm#&E E  , DFG Fm&)H H  and GIJ Im),K K - The bonus ball is JL Lm,/M M , Ball set ;o 0 thedelims theDelims8NO Nl6CP Pr6CQR QI6?S "0multidelimsplitmultiDelimSplitSTU To78 0 thestring theStringUV Vo8; 0 thedelims theDelims Ro 0 parsedstring parsedStringOWX WlXYZ YlDW[ [rDW\] \nDS^_ ^7GS`a  cobj `mMO amPR _oDG 0 parsedstring parsedString ]o 0 theresult theResultZbc blXdd drXdef enX`gh g4[`i  cobj im^_ hoX[ 0 parsedstring parsedString fo 0thedatetheDatecjk jlklm llen nreop obeqr qbest sbeuv ubewx wbeyz ybe{| {be}~ }be be be be be be bex bet bep bel meh Lottery Results for  ohk 0thedatetheDate mlo : ops  ret mtw  The Result:  lx nx 4{  cobj m~ ox{ 0 theresult theResult m ,  l n 4  cobj m o 0 theresult theResult m ,  l n 4  cobj m o 0 theresult theResult m ,  ~l n 4  cobj m o 0 theresult theResult |m ,  zl n 4  cobj m o 0 theresult theResult xm ,  vl n 4  cobj m o 0 theresult theResult tm  and the Bonus Ball  rl n 4  cobj m o 0 theresult theResult po 0 dialogstring dialogStringm l lB YB k= r n 4  cobj o 0i o 0mylinesmyLines o 0mynumsmyNums YW kR r c n 4  cobj o  0i o 0mynumsmyNums m   TEXT o 0thisnumthisNum Z3 E' l# n# 7#  cobj m m " o 0 theresult theResult o#& 0thisnumthisNum r*/ [*- o*+ 0 matchcount matchCount m+, o 0 matchcount matchCount Z4R =4B n4> 47>  cobj m:= o47 0 theresult theResult o>A 0thisnumthisNum rEJ mEF  boovtrue o 0 bonusmatched bonusMatched rMR mMN  boovfals o 0 bonusmatched bonusMatched 0i m I .corecnte******** o 0mynumsmyNums lXX rX bX bX bX bX bX bX bX bX bX   bX}   bXt bXp bXg bXc bX_ oX[ 0 dialogstring dialogString o[^~ ~ ret o_b} } ret mcf Your Numbers:  lgo| ngo 4jo{ { cobj mmnzz ogjy y0mynumsmyNums| mps ,   lt|x nt| 4w|w! w cobj !mz{vv  otwu u0mynumsmyNumsx  m}" ",   l#t #n$% $4s& s cobj &mrr %oq q0mynumsmyNumst m' ',  l(p (n)* )4o+ o cobj +mnn *om m0mynumsmyNumsp m, ,,  l-l -n./ .4k0 k cobj 0mjj /oi i0mynumsmyNumsl m1 1  and  l2h 2n34 34g5 g cobj 5mff 4oe e0mynumsmyNumsh od d ret oc c0 dialogstring dialogString67 6r89 8b:; :b<= <b>? >ob b0 dialogstring dialogString ?m@ @ You matched  =oa a0 matchcount matchCount ;mA A  number 9o` `0 dialogstring dialogString7BC BZDE_^ D>FG Fo] ]0 matchcount matchCount Gm\\ ErHI HbJK Jo[ [0 dialogstring dialogString KmL Ls IoZ Z0 dialogstring dialogString_^CMN MZOPYQ OoX X0 bonusmatched bonusMatched PrRS RbTU ToW W0 dialogstring dialogString UmV V and the bonus ball. SoV V0 dialogstring dialogStringY QrWX WbYZ YoU U0 dialogstring dialogString Zm[ [. XoT T0 dialogstring dialogStringN\] \lSRSR]^_ ^lQ`Q `% As if this is going to happen!_aP aZ=bcON b= de doM M0 matchcount matchCount emLL ck 9ffgh gt ij iOkl kIKmJ K.sysodlogaskrTEXT mmn nYou have won the lotteryJ lmoonull߀ Finder.appaw Numbers' @f@Rf@MACSalisr Macintosh HDyH+ Finder.appٽJ CoreServicesyJ 3Macintosh HD:System:Library:CoreServices:Finder.app Finder.app Macintosh HD&System/Library/CoreServices/Finder.app/ jm II~@hpH pU 9qr qk)4sstu tI).GFE G.sysobeepnulllongFEuvD vI/4CwB C.sysodelanullnmbr wm/0AABD rm#&@@HONP 0i m?? I>x= >.corecnte******** xo< <0mylinesmyLines=yz yl;:;:z{| {l9898|}~ }lCZ7 rCZ cCV lCR6 bCR lCN5 cCN lCJ4 ICJ32 3.earsffdralis afdr mCF1 1 afdrcusr24 mJM0 0 TEXT5 mNQ Library:Scripts:lotto.txt6 mRU/ / fss o. . 0the_file7~ l[f- I[f, ,.rdwropenshorfile o[^+ + 0the_file*) * perm mab( ( boovtrue)- lgr' Igr& &.rdwrseofnull**** ogj% % 0the_file$# $ set2 mmn""#' ls! Is  .rdwrwritnull**** lsv osv 0 dialogstring dialogString  refn oy|  0the_file  wrat m  rdwreof   as m  TEXT! l I .rdwrclosnull**** o  0the_file l l i I "0multidelimsplitmultiDelimSplit o 0 thestring theString o 0 thedelims theDelims  kQ l  1+ store the originals and set up the marker. r n 1  txdl 1  ascr o 0oldtidOLDTID r  m  ?!!? o 0 themarker theMarker l  UO process each of the delimiters in the_delims replacing each with the _marker_ X : k5 l  n  I  0settidsetTID o 0 thisdelim thisDelim f # see the handler that follows r!& n!$ 2"$  citm o!" 0 thestring theString o 0 thestring theString n'- I(- 0settidsetTID o() 0 themarker theMarker f'( r.5 c.3 n.1 2/1  citm o./ 0 thestring theString m12  TEXT o 0 thestring theString 0 thisdelim thisDelim o  0 thedelims theDelims l;; .( At this point our text looks like this: l;; 82 "This is a string?|? with?|?multiple delimiters." l;A n;A I<A 0settidsetTID o<= 0 themarker theMarker f;<  now get the markers out rBG nBE 2CE  citm oBC 0 thestring theString o 0 thestring theString lHN nHN IIN 0settidsetTID oIJ 0oldtidOLDTID fHI ! rebuild with the originals LOQ oOP 0 thestring theString l l 1+ This 3-line handler saves a lot of typing.   i   I 0settidsetTID  o 0 thisdelim thisDelim  r o 0 thisdelim thisDelim n 1  txdl 1  ascr  l l "0multidelimsplitmultiDelimSplit 0settidsetTID .aevtoappnull**** "0multidelimsplitmultiDelimSplit 0 thestring theString 0 thedelims theDelims 0 thestring theString 0 thedelims theDelims 0oldtidOLDTID 0 themarker theMarker 0 thisdelim thisDelim   ascr  txdl  kocl  cobj .corecnte******** 0settidsetTID  citm  TEXTR,EOEO/[l kh)k+O-EO)k+O-&E[OYO)k+O-EO)k+O  0settidsetTID 0 thisdelim thisDelim 0 thisdelim thisDelim  ascr  txdl,F !" .aevtoappnull****  k##$$&%%-&&7''N((Y))b**l++,,}--..//00! 0i"N3?BEHKM"',1@ALV[on~} +   0mylinesmyLines 0 matchcount matchCount .sysoexecTEXTTEXT 0 thestring theString 0 thedelims theDelims "0multidelimsplitmultiDelimSplit 0 parsedstring parsedString  cobj 0 theresult theResult 0thedatetheDate  ret  0 dialogstring dialogString .corecnte******** 0mynumsmyNums  TEXT 0thisnumthisNum 0 bonusmatched bonusMatched~@ .sysodlogaskrTEXT .sysobeepnulllong .sysodelanullnmbr  afdrcusr .earsffdralis afdr  fss 0the_file  perm .rdwropenshorfile  set2 .rdwrseofnull****  refn  wrat  rdwreof  as ~.rdwrwritnull**** }.rdwrclosnull****lvkmvlvEOjEOj EOaaaavE`O*_l+E`O_[a\[Zm\Z2E`O_al/E`Oa_%a%_%a%_ak/%a%_al/%a%_am/%a %_aa!/%a"%_aa#/%a$%_a/%a%%_aa!/%E`&Ogkj 'kha/E`(Ock_(j 'kh_(a/a)&E`*O_[a\[Zk\Z2_* kEYhO_aa+/_* eE`,YfE`,[OYO_&_%_%a-%_(ak/%a.%_(al/%a/%_(am/%a0%_(aa!/%a1%_(aa#/%a2%_(a/%_%E`&O_&a3%%a4%E`&Ok_&a5%E`&YhO_,_&a6%E`&Y _&a7%E`&O2a8na9 a:j ;UoOa[OYYh[OYOa?j @a)&aA%aB&E`CO_CaDel EO_CaFjl GO_&aH_CaIaJaKa) LO_Cj Mascr ޭ