bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comparing string with regular expression using test command in unix


From: N Gandhi Raja
Subject: comparing string with regular expression using test command in unix
Date: Fri, 17 Feb 2006 15:53:38 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225


Hi,

I want to compare a variable holding *string* with the *regular expression *. Is it possible to do in unix with a single command? Can we use "test" command in UNIX to compare a *string *with the *regular expression*? if so please provide an example for that.

With Thanks and Regards,

N Gandhi Raja,
Senior Design Engineer,
SEMICON BU,
Sasken Communication Technologies Limited
Gold Hill Square, # 690 Hosur Main Road
Bommanahalli, Bangalore -560068, INDIA.
EMAIL: address@hidden
TEL : 9180 25355501 extn:5222
FAX : 9180 56945333
URL : www.sasken.com




"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 
conducted by the BUSINESS TODAY - Mercer - TNS India"

                          SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged information. In 
case you are not the original intended Recipient of the message, you must not, directly 
or indirectly, use, Disclose, distribute, print, or copy any part of this message and you 
are requested to delete it and inform the sender. Any views expressed in this message are 
those of the individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with 
due authority of Sasken. Sasken has taken enough precautions to prevent the spread of 
viruses. However the company accepts no liability for any damage caused by any virus 
transmitted by this email


reply via email to

[Prev in Thread] Current Thread [Next in Thread]