The bash conditional statement treats both numbers as strings because of the leading zero in the second number (0330). In Octal notation, 0330 is equivalent to decimal 216. Therefore, when comparing the two numbers as strings, 216 is considered larger than 0330 because it has a larger numeric value.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-12-06 11:00:00 +0000
Seen: 13 times
Last updated: Nov 23 '21
In React using Material UI tabs, what is the method to show the initial tab?
What is the reason for Refs to show the current state that has been updated?
Reword this question: How can I rephrase "React SHOW DETAIL button"?
How can I show an image in my Qt project?
How can I set the Flutter Time Picker to show only AM times?
Is it possible for the LVGL chart to show decimal values?
What are icons that have graduated colors?
How can I make the modal dialog show up after the first click of the actionButton?
How can I show just a portion of an image using WPF?
How can I maintain the color in Git show --color output when sharing it on Microsoft Teams?