The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
If with set operators
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
If with set operators
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-25-2008
sumitc
Registered User
Join Date: Apr 2008
Posts: 19
if [[ $a = 1 ]] or [[ $b = 2 ]] or [[ $c = 3 ]]; then
if [ $a -eq 1 -o $b -eq 2 -o $c -eq 3 ]
then
----
else
----
fi
sumitc
View Public Profile
Find all posts by sumitc