Skip to content

chore: Various Bash improvements#1029

Merged
spacewander merged 1 commit intotj:masterfrom
hyperupcall:bash-improvements
Feb 3, 2023
Merged

chore: Various Bash improvements#1029
spacewander merged 1 commit intotj:masterfrom
hyperupcall:bash-improvements

Conversation

@hyperupcall
Copy link
Copy Markdown
Collaborator

@hyperupcall hyperupcall commented Jan 31, 2023

They mostly include

  • Use $PWD instead of $(pwd)
  • Better quoting
  • [ -n instead of [ ! -z
  • Adding -r to read

@hyperupcall hyperupcall changed the title chore: Various improvements chore: Various Bash improvements Jan 31, 2023
@spacewander spacewander merged commit 75d0dbf into tj:master Feb 3, 2023
@hyperupcall hyperupcall deleted the bash-improvements branch August 26, 2023 08:02
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