Search Results

Search: Posts Made By: karthigayan
1,501
Posted By karthigayan
Try this, var="25x24"; first=`echo $var...
Try this,


var="25x24";
first=`echo $var | cut -d 'x' -f 1`
second=`echo $var | cut -d 'x' -f 2`
let result=$first*$second;
echo $result;
27,357
Posted By karthigayan
Try this , str3=$(echo "$str1 \n $str2") ...
Try this ,


str3=$(echo "$str1 \n $str2")
echo -e $str3
2,058
Posted By karthigayan
use '\b' to match the end of the number , ...
use '\b' to match the end of the number ,


[0-9]+0\b
Showing results 1 to 3 of 3

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