Skip to content

winterbreak/jb.sh: fix formatting; remove undefined keywords#20

Draft
faukah wants to merge 1 commit into
KindleModding:winterbreakfrom
faukah:winterbreak
Draft

winterbreak/jb.sh: fix formatting; remove undefined keywords#20
faukah wants to merge 1 commit into
KindleModding:winterbreakfrom
faukah:winterbreak

Conversation

@faukah

@faukah faukah commented Apr 9, 2025

Copy link
Copy Markdown

Makes the current formatting a bit nicer, also does the following things:

  • removes the local keyrword. This is undefined in POSIX sh.
  • adds double quotes around some expressions to avoid word splitting
  • changes the == equality operator to =, since == is also not supported by POSIX sh.

Makes the current formatting a bit nicer, also does the following things:

- removes the `local` keyrword. This is undefined in POSIX sh. 
- adds double quotes around some expressions to avoid word splitting
- changes the `==` equality operator to `=`, since `==` is
also not supported by POSIX sh.
@ThatHackerDudeFromCyberspace

Copy link
Copy Markdown
Member

has this been tested yet?

@faukah

faukah commented Apr 9, 2025

Copy link
Copy Markdown
Author

no, this is why I made it a draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants