Search Results

Search: Posts Made By: icyhot
18,190
Posted By icyhot
it worked! Thanxxxxxxxxxxxxxxxxxxxx ...
it worked! Thanxxxxxxxxxxxxxxxxxxxx

**********************
#!/usr/bin/ksh

ACTROWCNT=100
EXPROWCNT=1000
diff=`expr ${ACTROWCNT} - ${EXPROWCNT}`

if [ ${diff#-} -gt 100 ]; then
echo...
18,190
Posted By icyhot
Getting absolute value ksh
Hi,

I am trying to find out how to get an absolute value for integer in ksh.

I tried using abs... but that doesn't work ! this is the workaround I did, but isn't there an inbuilt function to...
Showing results 1 to 2 of 2

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