Type-ish – A runtime type checker for bash, in bash
1–10 of 19 posts
Re: Type-ish – A runtime type checker for bash, in bash
#2I can't ever imagine using it tho :) If my bash scripts are so complex or critical that I feel the need to type check, I will probably use another scripting language where I can do that more easily while still having readable code.
Re: Type-ish – A runtime type checker for bash, in bash
#3This looks pretty cool! I can't ever imagine using it tho :) If my bash scripts are so complex or critical that I feel the need to type check, I will probably use another scripting language where I can do that more easily while still having readable code.
Re: Type-ish – A runtime type checker for bash, in bash
#4Agreed XD
It's a really nice idea but I cannot ever see myself writing bash like this
Re: Type-ish – A runtime type checker for bash, in bash
#5> [...]
> boolean: a shortcut for returning a number (as numbers are booleans).
Can someone explain? I can understand booleans being numbers (e.g. #define TRUE 1 in C), but how are numbers booleans in bash?
Re: Type-ish – A runtime type checker for bash, in bash
#6> the builtin types are: > [...] > boolean: a shortcut for returning a number (as numbers are booleans). Can someone explain? I can understand booleans being numbers (e.g. #define TRUE 1 in C), but how are numbers booleans in bash?
Re: Type-ish – A runtime type checker for bash, in bash
#7> the builtin types are: > [...] > boolean: a shortcut for returning a number (as numbers are booleans). Can someone explain? I can understand booleans being numbers (e.g. #define TRUE 1 in C), but how are numbers booleans in bash?
Booleans in shell scripts are little more than zero (true) and non-zero (false) exit codes.
Re: Type-ish – A runtime type checker for bash, in bash
#8Re: Type-ish – A runtime type checker for bash, in bash
#9Since no one has said it yet, please always use https://www.shellcheck.net/ on your scripts, you don't want to be That Guy https://github.com/ValveSoftware/steam-for-linux/issues/3671
Re: Type-ish – A runtime type checker for bash, in bash
#10Since no one has said it yet, please always use https://www.shellcheck.net/ on your scripts, you don't want to be That Guy https://github.com/ValveSoftware/steam-for-linux/issues/3671
Warning: The uninstallation process deletes the folder Steam was installed to to ensure it is fully uninstalled. If you accidentally installed Steam to a folder containing other data, for example C:\Program Files (x86)\ instead of C:\Program Files (x86)\Steam\..."