Article View: news.software.nntp
Article #6005Infelicity of "sort -o" in news.daily
From: James Youngman
Date: Mon, 25 Mar 1996 00:00
Date: Mon, 25 Mar 1996 00:00
17 lines
1158 bytes
1158 bytes
I recently discovered that if the expire.rm file created by
expire is bigger than /tmp, "sort -o" leaves it unsorted and so "fastrm" is
passed an unsirted list of files to delete and therefore takes far, far longer
to run than it normally does.
If the exit code of the sort command denotes failure, perhaps
the $RMFILE should be beleted so that "fastrm -e" can signal an error, rather
than just silently giving apalling performance.
Alternatively, we could use sort ${RMFILE} | fastrm .... to avoid
the problem altogether.
James Youngman
VG Gas Analysis Systems
Technical Details
Message-ID:
<4j6s4u$iae@halon.vggas.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4j6s4u$iae@halon.vggas.com> Subject: Infelicity of "sort -o" in news.daily Date: Mon, 25 Mar 1996 00:00:00 +0000 From: JYoungman@vggas.com (James Youngman) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 144096554 Organization: VG Gas Analysis Systems Content-type: Text/Plain; charset=US-ASCII Mime-version: 1.0 Newsgroups: news.software.nntp