bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature idea: recursive globbing


From: Norbert Nemec
Subject: Feature idea: recursive globbing
Date: Sun, 03 Apr 2005 18:49:57 -0400
User-agent: Mozilla Thunderbird 1.0 (X11/20050116)

Hi there,

I don't know whether this idea is just too obvious or why it is not implemented:

How about using a double star ** to signify recursive globbing, i.e. globbing for arbitrarily deep paths?

More specific:

Double star '**', which currently does not have any specific meaning in bash, could just match any number of arbitrarily deep nested directories.

The detailed rules would of course have to be worked out. The extension will of course not have the full flexibility of the 'find' command, nor will it be a full replacement for '-r' options of other commands, but it will certainly find good use in many situations.

Would be interesting to hear whether this or something similar has been discussed before or whether something like it is implemented already.

Greetings,
Norbert Nemec

PS: please CC me, I'm not subscribed.

--
_________________________________________Norbert Nemec
        Bernhardstr. 2 ... D-93053 Regensburg
    Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199
          eMail: <Norbert@Nemec-online.de>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]