Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15415
| Path | csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Robert Elz <kre@munnari.OZ.AU> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Wrong command option in the manual examples |
| Date | Tue, 24 Sep 2019 00:03:30 +0700 |
| Lines | 29 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.908.1569258289.2190.bug-bash@gnu.org> (permalink) |
| References | <mvm5zljm644.fsf@suse.de> <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> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1569258289 1034 209.51.188.17 (23 Sep 2019 17:04:49 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | Ilkka Virta <itvirta@iki.fi>, hk <hkadeveloper@gmail.com>, bug-bash@gnu.org, chet.ramey@case.edu |
| To | Andreas Schwab <schwab@suse.de> |
| Envelope-to | bug-bash@gnu.org |
| In-Reply-To | <mvm5zljm644.fsf@suse.de> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 3.x [generic] |
| X-Received-From | 2001:3c8:9009:181::2 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <27659.1569258210@jinx.noi.kre.to> |
| X-Mailman-Original-References | <mvm5zljm644.fsf@suse.de> <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> |
| Xref | csiph.com gnu.bash.bug:15415 |
Show key headers only | View raw
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