Timeline for How can I declare and use Boolean variables in a shell script?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 1, 2020 at 12:43 | comment | added | Peter Mortensen | You have it now. | |
Jan 1, 2020 at 12:42 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Second iteration.
|
Oct 23, 2019 at 12:20 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Second iteration. Made compliant with the Jon Skeet Decree - <https://twitter.com/PeterMortensen/status/976400000942034944>.
|
Aug 22, 2018 at 13:23 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Added a cross reference. Active reading [<http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29> <https://en.wiktionary.org/wiki/Boolean#Adjective>].
|
Sep 25, 2016 at 16:02 | comment | added | phk |
The true /false built-ins aren't used here (ignore what the syntax highlighting of some editors might imply), especially in the […] cases you can think of it as a simple string here (one that is given as a parameter to the [ command).
|
|
Sep 21, 2016 at 0:55 | review | Late answers | |||
Sep 21, 2016 at 0:56 | |||||
Sep 21, 2016 at 0:38 | history | answered | Randyman99 | CC BY-SA 3.0 |