This should be enough:
awk '{$NF=($NF<0 ? "-" : "+")}1' file
* `$NF=($NF<0 ? "-" : "+")` If last field is negative, replace it with a minus sign, else replace it with a plus sign.
* `1` prints the line.
This should be enough:
awk '{$NF=($NF<0 ? "-" : "+")}1' file
* `$NF=($NF<0 ? "-" : "+")` If last field is negative, replace it with a minus sign, else replace it with a plus sign.
* `1` prints the line.