10.5 0.52 78.5 29.8 45 13 21.45 0.02 0.99 1.00
Here is my code: #!/bin/bash file=~/test.txt while IFS= read -r line do echo $line if [[ "$line > 30" | bc) -eq "1" ]]; then echo Greater else echo Smaller fi done < $file
[[ ]]
if [[ $line > 30 ]]; then ... fi
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)