Menu

#5 Add support for /**/ globing

closed
5
2011-01-08
2011-01-05
Anonymous
No

Bash supports /**/ to mean recurse directories (in addition to /*/ which means recurse 1 level)

Considering adding support for /**/ in globbing (wildcard expansion )

Example:
echo /home/**/index.html

Discussion

  • David Lee

    David Lee - 2011-01-08

    I analyzed this and am not going to support it for now. It is complex to implement and the risk is high that it is used incorrectly. The bash installations I've tested have it off by default and only on using the shopt command. Some versions dont support it at all (cygwin). It is not part of the standard sh/ksh syntax either.

     
  • David Lee

    David Lee - 2011-01-08
    • status: open --> closed
     
  • David Lee

    David Lee - 2011-01-08
    • assigned_to: nobody --> daldei
     
Auth0 Logo