Timeline for Bash: double equals vs -eq
Current License: CC BY-SA 3.0
        5 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot | 
                
                    replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ 
                
             | |
| Dec 25, 2015 at 10:08 | review | Suggested edits | |||
| Dec 25, 2015 at 10:19 | |||||
| Jun 15, 2015 at 11:05 | comment | added | Stéphane Chazelas | Note that while most test/[implementations don't have>=/<=operators (yash's[has though),exprhas such operators, though it will do arithmetic comparison if the arguments are recognised as numbers (expr 01 '>=' 1returns true,expr X01 '>=' X1returns false). | |
| Jun 15, 2015 at 11:02 | comment | added | Stéphane Chazelas | Note that (except for mksh/zsh(except in POSIX mode (though that's not a POSIX feature))),(( 010 == 10 ))would return false because010would be treated as an octal number (8 in decimal). | |
| Mar 18, 2014 at 16:15 | history | answered | toxalot | CC BY-SA 3.0 |