The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-08-2008
ankimo ankimo is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 23
testing for regex at command line

hi unixers,

i wonder if someone can tell me how i can check for a regex at the command line?


Code:
if any parameter begins with a special character then
   do this
else
   do that
thanks for your help.