Timeline for How can I declare and use Boolean variables in a shell script?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2023 at 21:48 | comment | added | brt |
I'm seeing the same as you. ${myVar} && echo "my text" is working exactly as I would expect, when myVar is set to either true or false
|
|
May 26, 2020 at 12:27 | history | edited | BuvinJ | CC BY-SA 4.0 |
added 591 characters in body
|
Jan 1, 2020 at 12:50 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Second iteration.
|
Oct 23, 2019 at 12:29 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading [<http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29> <https://en.wikipedia.org/wiki/BusyBox> <http://en.wiktionary.org/wiki/straightforward> <https://en.wiktionary.org/wiki/Boolean#Noun>].
|
Mar 15, 2019 at 0:45 | history | edited | BuvinJ | CC BY-SA 4.0 |
added 6 characters in body
|
Mar 15, 2019 at 0:39 | history | answered | BuvinJ | CC BY-SA 4.0 |