Skip to main content
6 events
when toggle format what by license comment
Feb 27, 2020 at 23:44 vote accept user-2147482428
Feb 27, 2020 at 22:46 answer added muru timeline score: 4
Feb 27, 2020 at 22:41 comment added schrodingerscatcuriosity I was just pointing out that for arithmetic comparisons you have to use -ne,-eq,-lt etc, for string comparisons you use =,!=.
Feb 27, 2020 at 22:38 comment added user-2147482428 @guillermochamorro The script behaves exactly the same with that change.
Feb 27, 2020 at 22:32 comment added schrodingerscatcuriosity if [[ $? != 0 ]]; then should be if [[ $? -ne 0 ]]; then
Feb 27, 2020 at 22:28 history asked user-2147482428 CC BY-SA 4.0