The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to fetch variable value in if block and to compare it with certain string
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to fetch variable value in if block and to compare it with certain string
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-30-2008
vidyadhar85
Moderator(The Tutor)
Join Date: Jun 2008
Location: INDIA
Posts: 1,400
try this..
Quote:
if [ `echo "$exception_info"|grep -w "Exception if any" > /dev/null 2>&1; echo $?` -eq 0 ]; then
vidyadhar85
View Public Profile
Find all posts by vidyadhar85
Find vidyadhar85's past nominations received
Find vidyadhar85's present nominations given