Skip to main content
3 events
when toggle format what by license comment
May 6, 2017 at 21:10 comment added Adrian Günter GNU expr only supports arithmetic comparison on integers. Your example uses lexicographical comparison which will fail on negative numbers. For example, expr 1.09 '<' -1.1 will print 1 and exit with 0 (success).
Aug 4, 2015 at 13:13 history edited sam_pan_mariusz CC BY-SA 3.0
style
Aug 3, 2015 at 5:33 history answered sam_pan_mariusz CC BY-SA 3.0