Advertisement

06.19.2008 at 02:48PM PDT, ID: 23500672
[x]
Attachment Details

pattern match in shell script

Asked by saibsk in KornShell (ksh), Shell Scripting

How do I pattern match DL_XXX in a shell script. I want to ignore directories starting with DL

can I do somethign like

$dirName != "DL%"Start Free Trial
[+][-]06.19.2008 at 02:58PM PDT, ID: 21826895

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 03:08PM PDT, ID: 21826939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: KornShell (ksh), Shell Scripting
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 5
Solution Grade: A
 
 
[+][-]06.19.2008 at 03:09PM PDT, ID: 21826942

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 04:45PM PDT, ID: 21827392

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 10:19PM PDT, ID: 21828604

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 10:43PM PDT, ID: 21828687

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628