how to Parsing a data in shell script

Status
Not open for further replies.

ashish sharma

Full Member level 2
Joined
Jul 6, 2004
Messages
132
Helped
9
Reputation
18
Reaction score
5
Trophy points
1,298
Activity points
1,120
Hi all
Can any one tell me that how can we parse a data in shell scripting.
what actually i need is
i want to search some pattern (like seagate )
in a output of command "demsg |grep Vendor |less.

and by that if that pattren matches i have some other commands to execute.

Being a bignner i am not able to solve this .


If any one can suggest ....it would be obliged


or if u can plz send me some links or ebooks for the shell script
Greets
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…