regex in 'cp'

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Mike Starke
Datum:  
Onderwerp: regex in 'cp'
On Thu, Sep 25, 2003 at 10:02:37AM -0700, David A. Sinck wrote:
/_
/_Actually, it's shell wildcarding that you're looking for.
/_
/_cp a[2-6].ext destination
/_
/_cp a[3-6][0-9][0-9].ext destination
/_
/_cp a[1-8]*[0-9].ext destination
/_

After I fired off the message I realized I had a bad subject line.
I tried your first example with a "no match' returned.

I'll play a bit longer to see what simple thing I am missing.

-mike