[HPADM] pattern matching

From: Paveza, Gary (gary.paveza@AIG.COM)
Date: Thu Mar 13 2003 - 10:17:42 EST


Does native UX (shell scripting) have some type of pattern matching?

In other words, can I do something like

If [ "string" = "str.ng" ] so that the . represents any character and have a
match?
---------------------------------------------------------
Gary Paveza, Jr.
Senior Systems Administrator
(302) 252-4831 - phone
(302) 377-1516 - cell

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:27 EDT