Search Results

Search: Posts Made By: Palaniappan
38,074
Posted By Palaniappan
how to use bitwise or operator in /bin/sh
please any one can suggest me how to use bitesie || opearator to do this

#initallize a=0 b=0
#condition
if [ $? -ne 0 ]then
a=0
else a=1
fi
#bitwise or opeartion b = a || b


Please...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy