*BSD News Article 11723


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2003 ; Wed, 24 Feb 93 13:00:48 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd
From: cgd@gaia.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.bugs
Subject: patch to get sort to handle "-T tmpdir"
Date: 23 Feb 93 02:17:04
Organization: Kernel Hackers 'r' Us
Lines: 39
Distribution: world
Message-ID: <CGD.93Feb23021704@gaia.CS.Berkeley.EDU>
NNTP-Posting-Host: gaia.cs.berkeley.edu

this patch gets sort to handle the -T tmpdir option,
which makes /usr/libexec/locate.updatedb
work happily w/o modification...

i figure, this patch is better than fixing locate.updatedb,
becasue it makes sort more general and compatible w/other "sort"s
and doesn't add much code...  (just a few lines.)


(this has already been sent to jkh)

chris
========
begin 644 sort-T.patch
M9&EF9B`M8R`M<B`O=7-R+W-R8R]U<W(N8FEN+W-O<G0N;F\M5"]S;W)T+F,@
M+W5S<B]S<F,O=7-R+F)I;B]S;W)T+W-O<G0N8PHJ*BH@+W5S<B]S<F,O=7-R
M+F)I;B]S;W)T+FYO+50O<V]R="YC"5-A="!&96(@,C`@,34Z-#,Z-#<@,3DY
M,PHM+2T@+W5S<B]S<F,O=7-R+F)I;B]S;W)T+W-O<G0N8PE3870@1F5B(#(P
M(#$U.C0V.C4P(#$Y.3,**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B`Q-C$T+#$V,3D@
M*BHJ*@HM+2T@,38Q-"PQ-C,P("TM+2T*("`)"2`@8V%S92`G=2<Z"B`@"0D@
M("`@=6YI<75E(#T@,3L*("`)"2`@("!B<F5A:SL**R`)"2`@8V%S92`G5"<Z
M("`@+RH@<V5T('1E;7`@9FEL92!P<F5F:7@@*B\**R`@("`@("`@("`@("`@
M("`@("`@(&EF("AS6S%=*0HK("`@("`@("`@("`@("`@("`@("`@("!P<F5F
M:7@@/2!S("L@,3L**R`@("`@("`@("`@("`@("`@("`@(&5L<V4**R`@("`@
M("`@("`@("`@("`@("`@("`@>PHK("`@("`@("`@("`@("`@("`@("`@("`@
M(&EF("AI(#T](&%R9V,@+2`Q*0HK("`@("`@("`@("`@("`@("`@("`@("`@
M("`@97)R;W(@*#(L(#`L(")O<'1I;VX@8"U4)R!R97%U:7)E<R!A;B!A<F=U
M;65N="(I.PHK("`@("`@("`@("`@("`@("`@("`@("`@(&5L<V4**R`@("`@
M("`@("`@("`@("`@("`@("`@("`@('!R969I>"`](&%R9W9;*RMI73L**R`@
M("`@("`@("`@("`@("`@("`@("`@?0HK("`@("`@("`@("`@("`@("`@("`@
M9V]T;R!O=71E<CL*("`)"2`@9&5F875L=#H*("`)"2`@("!F<')I;G1F("AS
M=&1E<G(L("(E<SH@=6YR96-O9VYI>F5D(&]P=&EO;B!@+25C)UQN(BP*("`)
5"0D@("`@(&%R9W9;,%TL("IS*3L*
`
end
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

                 MENTALLY CONTAMINATED and proud of it!