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


Groups > gnu.bash.bug > #15404

Re: Wrong command option in the manual examples

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From hk <hkadeveloper@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Wrong command option in the manual examples
Date Mon, 23 Sep 2019 07:26:36 +0800
Lines 31
Approved bug-bash@gnu.org
Message-ID <mailman.823.1569194812.2190.bug-bash@gnu.org> (permalink)
References <CAD0rTC6EHd5w5A6kuD850mLzu+V_EJXQyoZ=amQcF9TktTSEJA@mail.gmail.com> <38052651-6d67-6107-660c-707ca39ee00c@case.edu> <CAD0rTC5Q82sk_s6cS0RXc6pupe_vo9A3n-xAW8NwE9ejysEQ4g@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1569194813 26885 209.51.188.17 (22 Sep 2019 23:26:53 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To Chester Ramey <chet.ramey@case.edu>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Sr3rvFmYGZdpxvNXP0cyQ7EifcJBgeYhW2T0bckUI7k=; b=i3TC8rMSLCSj8xMUAKPRHIHMaFEhy+G+rR6cnqj3vJHefkRnac4hrlAn7Fnj82l/p6 5EYyubwqGdui0OeTWYtQ/ErZEMPxEO4Ezv5gNh5tFe5ZlvQMT1ZjwogjKPKFoM3SaZ9c SrfDl3T03gk7zbGb7r/HT0y+l/ZdkbaFV67bBw8w/6UG2rszR4pQPhWjcn1RtOfjF1Vv m/BmEsmYZK2cIZ5m4gOWoydhsDipaPwwwUhHQCSu9JyXeAQ0K4TMFKBOJFWQOAeqa4OI 3Txf8moNUyEGp/bUHx/w7gfiEC50xydJ9O9fyCA1N/v6kmaqfQnBXbKmBEEtw8c76+ur YnXQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sr3rvFmYGZdpxvNXP0cyQ7EifcJBgeYhW2T0bckUI7k=; b=PKsiHmg5BoxhzYFi9TSYJnjeYuazrhJ2Du5k7The8cZ+/eNztKe91l8Ducz6bupmZ4 QiXnxayB1tWtz8ktrFihnBZ+jQhmPqydnZ4sjjQmSJHFf731F63rtpjHJlUJ0I9qcxXQ XtIzFk1Edl5RPaMnfoLAcbX8F3oqL+Cru0iB2Qh5pmBLSiuQM+RV/r/65uoAvetQxwOz TDzLsaZAnfMimvzaghvf6RVXc7+m96LwmiU375c1cgnspeS+5mgVCz6GxQwQ8ktn7F6c DbArXpjH0XHduOaXTm223SUm/kmA85ZtE6Ih704RXnIDgGwKDvbuet9GtTvWIQ/aJnwW Z+bg==
X-Gm-Message-State APjAAAVksLAYgt8xD18CT1+o+7EjqyJURkIKdLtbo2mG0hG6OkM6dAJT bbpyXj/faarRWbcmiFiJigjsNGnzsdHm+ya/qAc=
X-Google-Smtp-Source APXvYqyjXELt5BnSiFBgDp7GKsQYjUSNtshNw9jW1PtFU/AQrTRSIq6VN77/hpEg+zYItacSBeWS6HMw+rRY3eS0vkA=
X-Received by 2002:a37:4a50:: with SMTP id x77mr14653544qka.338.1569194807993; Sun, 22 Sep 2019 16:26:47 -0700 (PDT)
In-Reply-To <38052651-6d67-6107-660c-707ca39ee00c@case.edu>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::72e
X-Content-Filtered-By Mailman/MimeDel 2.1.23
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 <CAD0rTC5Q82sk_s6cS0RXc6pupe_vo9A3n-xAW8NwE9ejysEQ4g@mail.gmail.com>
X-Mailman-Original-References <CAD0rTC6EHd5w5A6kuD850mLzu+V_EJXQyoZ=amQcF9TktTSEJA@mail.gmail.com> <38052651-6d67-6107-660c-707ca39ee00c@case.edu>
Xref csiph.com gnu.bash.bug:15404

Show key headers only | View raw


GNU-implemented `find' does have a `-depth' option and  a `-maxdepth'
option.
Directories[findutils]
<https://www.gnu.org/software/findutils/manual/html_node/find_html/Directories.html#Directories>

On Mon, Sep 23, 2019 at 2:15 AM Chet Ramey <chet.ramey@case.edu> wrote:

> On 9/20/19 10:24 PM, hk wrote:
>
> > Bash Version: 5.0
> > Patch Level: 0
> > Release Status: release
> >
> > Description:
> >         On the section 3.2.6(GNU Parallel, page 16 in the pdf) of Bash
> > Reference Manual. The manual uses `find' command to illustrate
> > possible use cases of `parallel' as examples. but the option `-depth'
> > does not accept any argument, I think it means `-maxdepth` option
> > instead.
>
> -depth n
>       True if the depth of the file relative to the starting point of
>       the traversal is n.
>
> It's not in POSIX, and maybe GNU find doesn't implement it.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Wrong command option in the manual examples hk <hkadeveloper@gmail.com> - 2019-09-23 07:26 +0800

csiph-web