regex in 'cp'

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: 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