Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: hk 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: References: <38052651-6d67-6107-660c-707ca39ee00c@case.edu> 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <38052651-6d67-6107-660c-707ca39ee00c@case.edu> Xref: csiph.com gnu.bash.bug:15404 GNU-implemented `find' does have a `-depth' option and a `-maxdepth' option. Directories[findutils] On Mon, Sep 23, 2019 at 2:15 AM Chet Ramey 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/ >