Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15415 > unrolled thread

Re: Wrong command option in the manual examples

Started byRobert Elz <kre@munnari.OZ.AU>
First post2019-09-24 00:03 +0700
Last post2019-09-24 00:03 +0700
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Wrong command option in the manual examples Robert Elz <kre@munnari.OZ.AU> - 2019-09-24 00:03 +0700

#15415 — Re: Wrong command option in the manual examples

FromRobert Elz <kre@munnari.OZ.AU>
Date2019-09-24 00:03 +0700
SubjectRe: Wrong command option in the manual examples
Message-ID<mailman.908.1569258289.2190.bug-bash@gnu.org>
    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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web