Sure this is a simple one - still learning my way around sh scripts. I've got:-
if [ $3 < 480 ]; then
blah blah command
else
blah blah command2
fi
$3 is a passed variable, again an integer. However, when this script is run, it reports:-
line 20: 480: No such file or directory
Confused.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…