Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!unixg.ubc.ca!news.mic.ucla.edu!ux1.lmu.edu!cynjut.ogisd.ess.harris.com!cynjut.ogisd.ess.harris.com!not-for-mail From: burgess@cynjut.ogisd.ess.harris.com (Dave Burgess) Newsgroups: comp.os.386bsd.development Subject: Patches for test(1) Date: 10 Apr 1994 16:33:30 -0500 Organization: Dave`s House in Omaha Lines: 165 Message-ID: <2o9rba$ntc@cynjut.ogisd.ess.harris.com> NNTP-Posting-Host: cynjut.ogisd.ess.harris.com I know that the original source for these patches is out of the NetBSD-current side, but I thought that I would toss them here so that the FreeBSD folks might be able to use it as well. I have put together a couple of quick hacks to add some GNU functionality to test(1). It is very simple minded stuff, and may well be done better a different way. The changes are all based from the -current /usr/src/bin/test files. I have added the functionality of -nt, -ot, and -sa (newer than, older than, and same age) for file comparisons. The uuencoded diff file below adds the new functionality. begin 664 test.patches M*BHJ($UA:V5F:6QE"5-A="!!<'(@(#D@,C`Z-#,Z,#D@,3DY-`HM+2T@+BXO M;F5W=&5S=#(O36%K969I;&4)4V%T($%P<B`@,B`Q-#HS-3HQ,R`Q.3DT"BHJ M*BHJ*BHJ*BHJ*BHJ*@HJ*BH@."PQ-"`J*BHJ"B`@34Q)3DM3/0ET97-T+C$@ M)ULN,2<*("`*("`C('5S92!T:&ES(')U;&4@=&\@:68@>6]U('5P9&%T92!B M:6YA<GE?;W!S+"!O<B!U;F%R>5]O<',*(2!M86ME7V]P.B`*(2`)<V@@)'LN M0U521$E2?2]M:V]P<PHA(`H@("YI;F-L=61E(#QB<V0N<')O9RYM:SX*+2TM M(#@L,C`@+2TM+0H@($U,24Y+4ST)=&5S="XQ("=;+C$G"B`@"B`@(R!U<V4@ M=&AI<R!R=6QE('1O(&EF('EO=2!U<&1A=&4@8FEN87)Y7V]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-A("XO;V)J+W1E<W0**R!E8VAO("=T("$@+V5T8R]P87-S M=V0@+7-A("XO;V)J+W1E<W0G"BL@="`A("]E=&,O<&%S<W=D("US82`N+V]B M:B]T97-T"BL@"BL@96-H;R`G="`O971C+W!A<W-W9"`M<V$@+V5T8R]P87-S M=V0G"BL@="`O971C+W!A<W-W9"`M<V$@+V5T8R]P87-S=V0**R!E8VAO("=T M("$@+V5T8R]P87-S=V0@+7-A("]E=&,O<&%S<W=D)PHK('0@(2`O971C+W!A M<W-W9"`M<V$@+V5T8R]P87-S=V0**R`**R!E8VAO("=T("]E=&,@+6YT("]E M=&,O<&%S<W=D("`C($-H96-K($1I<B!A9V4@=G,N(&9I;&4G"BL@="`O971C M("UN="`O971C+W!A<W-W9`HK(&5C:&\@)W0@(2`O971C("UN="`O971C+W!A M<W-W9"<**R!T("$@+V5T8R`M;G0@+V5T8R]P87-S=V0**R`**R!E8VAO("=T M(&]B:B`M;G0@+V5T8R]P87-S=V0@(",@0VAE8VL@4WEM3&EN:R!A9V4@=G,N M(&9I;&4G"BL@="!O8FH@+6YT("]E=&,O<&%S<W=D"BL@96-H;R`G="`A(&]B M:B`M;G0@+V5T8R]P87-S=V0G"BL@="`A(&]B:B`M;G0@+V5T8R]P87-S=V0* M*BHJ(&)I;F%R>5]O<`E3870@07!R("`Y(#(P.C0S.C$X(#$Y.30*+2TM("XN M+VYE=W1E<W0R+V)I;F%R>5]O<`E3870@07!R("`R(#$T.C,U.C$T(#$Y.30* M*BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B`U,RPU-B`J*BHJ"B`@3%0)("UL=`DT("`@ M($]07TE.5`H@($Q%"2`M;&4)-"`@("!/4%])3E0*("!'10D@+6=E"30@("`@ M3U!?24Y4"B$@"BTM+2`U,RPU."`M+2TM"B`@3%0)("UL=`DT("`@($]07TE. M5`H@($Q%"2`M;&4)-"`@("!/4%])3E0*("!'10D@+6=E"30@("`@3U!?24Y4 M"B$@3E0)("UN=`DT("`@($]07T9)3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HJ*BHJ*BHJ*BH**BHJ(#$Y-BPR,#$@*BHJ*@HM+2T@,3DV M+#(Q-R`M+2TM"B`@:7,@86QG96)R86EC86QL>2!L97-S"B`@=&AA;B!O<B!E M<75A;"!T;R!T:&4@:6YT96=E<@H@("Y!<B!<)FY<)C(@+@HK("Y<(B!.97<@ M<W1U9F8**R`N270@07(@7"9F:6QE7"8Q($9L(%PF;G0@07(@7"9F:6QE7"8R M"BL@5')U92!I9B!F:6QE(`HK("Y!<B!<)F9I;&5<)C$**R!I<R!N97=E<B!T M:&%N"BL@+D%R(%PF9FEL95PF,B`N"BL@+DET($%R(%PF9FEL95PF,2!&;"!< M)F]T($%R(%PF9FEL95PF,@HK(%1R=64@:68@=&AE(&EN=&5G97(**R`N07(@ M7"9F:6QE7"8Q"BL@:7,@;VQD97(@=&AA;@HK("Y!<B!<)F9I;&5<)C(@+@HK M("Y)="!!<B!<)F9I;&5<)C$@1FP@7"9S82!!<B!<)F9I;&5<)C(**R!4<G5E M(&EF('1H92!I;G1E9V5R"BL@+D%R(%PF9FEL95PF,0HK(&ES('1H92!<)G-A M;64@7"9A9V4@87,**R`N07(@7"9F:6QE7"8R("X*("`N16P*("`N4'`*("!4 M:&5S92!P<FEM87)I97,@8V%N(&)E(&-O;6)I;F5D('=I=&@@=&AE(&9O;&QO 0=VEN9R!O<&5R871O<G,Z"F%N ` end -- ------ TSgt Dave Burgess | Dave Burgess NCOIC, USSTRATCOM/J6444 | *BSD FAQ Maintainer Offutt AFB, NE | Burgess@hrd769.brooks.af.mil