ó fc@s8ddlZddlZddlTddlZdZd*Zd„Zd„Zdd d d d gZd ddddgZ ddddddddddddddgZ gZ d „Z d!„Z d"„Zd#„Zd$„Zd%„Zd&„Zd'„Zed(kr4ye ƒeeƒƒWq4ek r0d)GHq4XndS(+iÿÿÿÿN(t*s`iÈicCsÈtjd}|r|SdGHg}xBtjtjƒD].}t|ƒs5|jt|ƒ|fƒq5q5W|jƒ|sŒdGHtj dƒn|jƒ|j ƒx!|D]\}}|j|ƒq§W|S(Nis1No arguments, checking almost *, in "ls -t" ordersNothing to do -- exit 1( tsystargvtostlistdirtcurdirtskipfiletappendtgetmtimetsorttexittreverse(targstlisttfiletmtime((s*/usr/lib64/python2.7/Tools/scripts/xxci.pytgetargss"      cCs7ytj|ƒ}|tSWntjk r2dSXdS(Niÿÿÿÿ(RtstattST_MTIMEterror(Rtst((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyR"s  ttagstTAGStxyzzys nohup.outtcoret.t,t@t#so.t~s.as.os.olds.baks.origs.news.prevs.nots.pycs.fdcs.rgbs.elcs,vcCsŽtt(xtD]}tj|dƒqWxtD]}tjd|ƒq0Wytddƒ}Wntk rrdSXt|jƒjƒt(dS(NRs.xxcigntr( tbadnamestignoret badprefixesRt badsuffixestopentIOErrortreadtsplit(tptf((s*/usr/lib64/python2.7/Tools/scripts/xxci.pytsetup0s   cCsºx$tD]}tj||ƒrdSqWytj|ƒ}Wntjk rQdSXt|tƒsfdS|ttkrzdSy2t |dƒj t t ƒƒ}|t kr«dSWnnXdS(NiRi( R tfnmatchRtlstatRtS_ISREGtST_MODEtST_SIZEtMAXSIZER#R%tlent EXECMAGIC(RR'Rtdata((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyR<s$  cCs/x(tD] }|t|ƒ |krdSqWdS(Nii(R!R0(Rtbad((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyt badprefixOs cCs0x)tD]!}|t|ƒ |krdSqWdS(Nii(R"R0(RR3((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyt badsuffixTs cCstxm|D]e}|dGHt|ƒrt|ƒtd|dƒrltjd|ƒ}tjd|ƒ}qlqqWdS(Nt:s Check in s ? srcs -l sci -l (t differingt showdiffstaskyesnoRtsystem(R Rtsts((s*/usr/lib64/python2.7/Tools/scripts/xxci.pytgoYs    cCs+d|d|}tj|ƒ}|dkS(Nsco -p s 2>/dev/null | cmp -s - i(RR:(RtcmdR;((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyR7bscCs!d|d}tj|ƒ}dS(Nsrcsdiff s 2>&1 | ${PAGER-more}(RR:(RR=R;((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyR8gscCst|ƒ}|dkS(Ntytyes(R>R?(t raw_input(tpromptts((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyR9ks t__main__s[Intr]i (RRRR*R1R/RRRR!R"R R)RR4R5R<R7R8R9t__name__tKeyboardInterrupt(((s*/usr/lib64/python2.7/Tools/scripts/xxci.pyts4