MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/local/ssl/local/ssl/lib/python2.4/Tools/scripts/ndiff.pyo
mò
‚=5Dc@sådZdZdkZdkZd„Zd„Zd„Zd„Zd	„Ze	d
jo‰ei
dZdejoadkZdk
Z
eidƒdZeid
eƒe
ieƒZeiƒidƒiƒqáeeƒndS(s‡ndiff [-q] file1 file2
    or
ndiff (-r1 | -r2) < ndiff_output > file1_or_file2

Print a human-friendly file difference report to stdout.  Both inter-
and intra-line differences are noted.  In the second form, recreate file1
(-r1) or file2 (-r2) on stdout, from an ndiff report on stdin.

In the first form, if -q ("quiet") is not specified, the first two lines
of output are

-: file1
+: file2

Each remaining line begins with a two-letter code:

    "- "    line unique to file1
    "+ "    line unique to file2
    "  "    line common to both files
    "? "    line not present in either input file

Lines beginning with "? " attempt to guide the eye to intraline
differences, and were not present in either input file.  These lines can be
confusing if the source files contain tab characters.

The first file can be recovered by retaining only lines that begin with
"  " or "- ", and deleting those 2-character prefixes; use ndiff with -r1.

The second file can be recovered similarly, but by retaining only "  " and
"+ " lines; use ndiff with -r2; or, on Unix, the second file can be
recovered by piping the output through

    sed -n '/^[+ ] /s/^..//p'
iiiNcCs(tii}||dƒ|tƒdS(Ns

i(tsyststderrtwritetouttmsgt__doc__(RR((t)/usr/lib/python2.4/Tools/scripts/ndiff.pytfail5s
cCsIyt|dƒSWn1tj
o%}td|dt|ƒƒSnXdS(NtUscouldn't open s: (topentfnametIOErrortdetailRtstr(R
R((Rtfopen=scCst|ƒ}t|ƒ}|p|odSn|iƒ}|iƒ|iƒ}|iƒxt	i
||ƒD]
}|GqoWdS(Nii(Rtf1nametf1tf2nametf2t	readlinestatclosetbtdifflibtndifftline(RRRRRRR((RtfcompareDscCsmdk}y|i|dƒ\}
}Wn(|ij
o}tt|ƒƒSnXd}d}}xN|
D]F\}}|djod}d}qg|djod}|}	qgqgW|o|otdƒSn|oB|otdƒSn|	djot
|	ƒdSntd
ƒSnt|ƒdjotdƒSn|\}}|od
G|GHdG|GHnt||ƒS(Nsqr:iis-qs-rscan't specify both -q and -rsno args allowed with -r optiont1t2s-r value must be 1 or 2isneed 2 filename argss-:s+:(RR(tgetopttargstoptsterrorRRR
tnoisytqseentrseentopttvalt	whichfiletrestoretlenRRR(RR$R%RRRR"RR#R&RR!((RtmainTs>	





	
cCs/titiiƒ|ƒ}tii|ƒdS(N(	RR'RtstdinRtwhichtrestoredtstdoutt
writelines(R+R,((RR'wst__main__s-profiles	ndiff.pros
main(args)ttime(iii(Rt__version__RRRRRR)R't__name__targvRtprofiletpstatstremovetstatftruntStatststatst
strip_dirst
sort_statstprint_stats(
R4R)RR:RR'RRRR7R5RR1((Rt?/s"				#