Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site allegra.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!jpl From: jpl@allegra.UUCP (John P. Linderman) Newsgroups: net.bugs.4bsd,net.bugs.usg,net.unix-wizards Subject: Re: find(1) mishandles multiple -newer options - fix included Message-ID: <5280@allegra.UUCP> Date: Mon, 21-Oct-85 15:25:55 EDT Article-I.D.: allegra.5280 Posted: Mon Oct 21 15:25:55 1985 Date-Received: Tue, 22-Oct-85 06:19:55 EDT References: <5275@allegra.UUCP> <5279@allegra.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 21 Keywords: respect, lack thereof, prophet, own country Xref: watmath net.bugs.4bsd:1820 net.bugs.usg:368 net.unix-wizards:15360 > From: mp@allegra.UUCP (Mark Plotnick) >> From jpl@allegra.UUCP (John P. Linderman) >> The following diffs to the BSD 4.2 source correct the problem, >> and add a dozen options. (Only a few options are genuinely >> useful, but it was cleaner to add them all than to prune out >> the useless ones.) > Look out, world! I was just showing Linderman a bug in "ls" this morning... Hoist with my own petard, eh? The changes only add two new ``concepts'', the use of access times or inode change times instead of file modification times. Then the two files, the backwards-compatible defaults, and simple combinatorics generate a dozen possibilities. Those ending with one or more m's are ``useless'' in the sense that the same effect can be obtained by leaving the m's off, but they are ``useful'' because they provide a consistent mapping to the underlying concepts. By this reckoning, adding the n+1'st flag to ls adds 2**n new options, so a dozen is pretty modest. But now that you mention it, it would be nice to have a flag to ls that caused all unprintable characters in file names to ... John P. Linderman Finder of lost options allegra!jpl