The UNIX and Linux Forums  


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 -->
  #3 (permalink)  
Old 03-12-2009
sandholm sandholm is offline
Registered User
  
 

Join Date: Dec 2007
Location: New Hampshire
Posts: 20
Cool What about case?

Let me add to the previous example:

case $USER in
[a-mA-M]* ) A;;
[n-zN-Z]* ) B;;
esac

This way you'll match independent of case.
You know how "users" are!