Horje
how to compare float values in shell script Code Example
how to compare float values in shell script
# comparing floting points
compare=`echo | awk "{ print ($x < $y)?1 : 0 }"`
echo compare=$compare

if [[ $compare -eq 1 ]]; then
	echo x=$x is less than y=$y
elif [[ $compare -eq 0 ]]; then
	echo y=$y is less than x=$x
fi




Shell

Related
how to check eigen version Code Example how to check eigen version Code Example
htaccess all requests goes to index.php Code Example htaccess all requests goes to index.php Code Example
centos dig Code Example centos dig Code Example
how to add license to existing github repo Code Example how to add license to existing github repo Code Example
avoid github credentials Code Example avoid github credentials Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13