字符串比较是ASCII比较,所以
[ '>' \> '0' ]
应该有相同的结果
[[ '>' > '0' ]]
但是为什么第一个返回true(0)而第二个返回false(1)?
string bash comparison
bash ×1
comparison ×1
string ×1