Date: Wed, 7 Aug 1996 16:16:24 +0200 (SAT) From: Robert Nordier <rnordier@iafrica.com> To: dgy@rtd.com (Don Yuniskis) Cc: tcg@ime.net, dgy@rtd.com, fqueries@jraynard.demon.co.uk, questions@FreeBSD.ORG Subject: Re: perhaps i am just stupid. Message-ID: <199608071416.QAA00355@eac.iafrica.com> In-Reply-To: <199608071139.EAA17578@seagull.rtd.com> from "Don Yuniskis" at Aug 7, 96 04:39:13 am
next in thread | previous in thread | raw e-mail | index | archive | help
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. 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. -- Robert Nordier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608071416.QAA00355>