Date: Wed, 07 Aug 1996 12:24:33 -0400 From: Gary Chrysler <tcg@ime.net> To: Robert Nordier <rnordier@iafrica.com> Cc: Don Yuniskis <dgy@rtd.com>, fqueries@jraynard.demon.co.uk, questions@FreeBSD.ORG Subject: Re: perhaps i am just stupid. Message-ID: <3208C341.F10@ime.net> References: <199608071416.QAA00355@eac.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Nordier wrote: > > Don Yuniskis wrote: > > > It seems that Gary Chrysler said: > > > [...] > > > cksum %1.?? > %1.tmp > > > comp %1.sum %1.tmp > > > > > > I belive this is what you meant. (That is if all the binarys have a > > > two digit extension) > > > > But, it will hose you if foo.xx exists, etc. > > > > > cksum %1.* > %1.tmp > > > Would cause the .tmp and .sum to be cksum'ed. > > > > > > cksum %1.0* > %1.tmp > > > Whats the ^.. for?? > > A "cksum %1.0*" won't work because the files have alpha extensions: > "bin.aa" to "bin.cq", if memory serves. Yup, Thats a fact.. > > However there seems to be another underlying assumption: that MS-DOS > expands wildcards in alpha-sorted sequence. It doesn't. File > "bin.bz" (say) may just as well be processed before "bin.aa". So > a "comp" without an intervening "sort" won't work. > > Another complication: DOS "sort" is little-used, broken, and may > not be in the PATH. I see no need for that ... ... :) I reley on sort as much as I reley on find. (ms-dos's) -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3208C341.F10>