New Feature: Haiku Forge
Build, play, remix, and share World of Haiku missions using the Haiku Forge tool! Every mission the Haiku team built used this tool. Have at it!
Next week expect a tutorial on how to build webpages.
[ADD] The three of the most well-known forms of quoting.
- Backslash quoting
Escapes the next character after a unquoted `\`, for instance, `\$var` translates literally to `$var`, making `$` lose its meaning
- Single quoting
Escapes every character inside of `'..'`, including backslashes
- Double quoting
Escapes every character inside of `".."`, with the exception of `$`, ```, `\` and `"`
It makes so characters inside double quotes are not word split, this is useful when we want to read a multi-word variable without breaking it into different arguments.
Example `> echo "$PWD"` won't split the result of $PWD variable if there's a space in the path, `> echo $PWD` will
[UPDATE] Onboarding happens at the start of the game. After onboarding, it will send you straight to the game instead of dropping you off in the menu.
[UPDATE] `>>` does redirection but appends to the file if it has been found, `>` currently refuses to overwrite the file.
[ADD] Special parameter environment variable `$?`, which stores the integer exit status of the previously executed command.
It has a reverse boolean logic, which means `0` is actually success, any other value means failure (we use 1).
[ 2023-07-21 17:57:32 CET ] [ Original post ]