1 2 3 4 5 6 7
#!/bin/bash if test $1 -lt 0 then echo "number is negative" else echo "number is non-negative" fi