The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
if conditional statement
.
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
:
if conditional statement
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
07-02-2009
sagii
Registered User
Join Date: Jun 2009
Posts: 22
try this
mapping=$1
if [ "$mapping" = pass ]
then
echo "program passed"
fi
sagii
View Public Profile
Find all posts by sagii
Find sagii's past nominations received
Find sagii's present nominations given