Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15415
| From | Robert Elz <kre@munnari.OZ.AU> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Wrong command option in the manual examples |
| Date | 2019-09-24 00:03 +0700 |
| Message-ID | <mailman.908.1569258289.2190.bug-bash@gnu.org> (permalink) |
| References | (1 earlier) <59cf49b0-1292-b752-4fe8-8928fd558ebf@iki.fi> <CAD0rTC6EHd5w5A6kuD850mLzu+V_EJXQyoZ=amQcF9TktTSEJA@mail.gmail.com> <38052651-6d67-6107-660c-707ca39ee00c@case.edu> <23726.1569247367@jinx.noi.kre.to> <27659.1569258210@jinx.noi.kre.to> |
Date: Mon, 23 Sep 2019 16:36:59 +0200
From: Andreas Schwab <schwab@suse.de>
Message-ID: <mvm5zljm644.fsf@suse.de>
| According to https://www.freebsd.org/cgi/man.cgi, find -d already
| appeared in 4.3BSD, and -depth is much newer.
I can believe that, I did not research the history, just what is in
the NetBSD man page (and code). It looks as if both -d and -depth
appeared in 4.3Reno, with -depth undocumented other than as an implementation
technique for -d (which is kind of a weird way to do it) and much the
same explanation of why -depth is wrong as appears in BSD man pages to
this day...
That kind of suggests that -depth (the no arg version) was older, and
originated elsewhere (none of this is in 4.3Tahoe) but that isn't clear.
If I ever find my BSD sccs files I might (if I still remember this) take
a look and see if there are more clues to the origins.
(-xdev, which was replaced/augmented by -x in 4.3Reno was certainly older).
FreeBSD's -depth N is certainly newer.
None of this affects my opinion that using -depth (any form) in an
example isn't a good choice.
kre
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Wrong command option in the manual examples Robert Elz <kre@munnari.OZ.AU> - 2019-09-24 00:03 +0700
csiph-web