Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    There is a tag for "globstar" ?? :) Commented Mar 15, 2021 at 12:41
  • I just created it, @AdminBee. It seemed useful since there are various **-specific questions that can be asked. Do you think it isn't helpful? Commented Mar 15, 2021 at 12:45
  • 3
    Possibly related: unix.stackexchange.com/a/171347/237982 Commented Mar 15, 2021 at 12:55
  • 2
    globstar is the (very weirdly named) option David Korn picked for enabling the recursive-globbing feature it copied from zsh over 10 years later, and bash eventually copied as well another decade later. Several shells have added zsh-style recursive-globbing support, not all with that misnamed globstar option. Can we make the tag recursive-glob instead (and maybe a globstar alias to it for the ksh93/bash/tcsh users?). See also The result of ls * , ls ** and ls *** Commented Mar 15, 2021 at 14:06
  • 1
    @jrw32982 no, that isn't what I mean. I know it generates all file names first, my question was whether it also had a mechanism (such as writing partial file lists to temp files) to avoid running out of memory. Commented Mar 17, 2021 at 19:42