Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizations #780

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ioprojecton
Copy link

What? (required)

most external commands replaced with bash builtin
formatted to look more bash friendly

Why? (optional)

Why has this change occurred if applicable?

How can this be tested? (optional)

Describe how this change can be tested

Screenshots (optional)

Upload some screenshots of the changes

Got rid of sed cat and tr commands in favour of native parameter and variable expansions 

added declare specifier to explicitly show where variable is being declared and also if its modifiable or no via -r or readonly

switch printf to echo to be closer to bashism as per #!/bin/bash request right at the top

switch testing to empty string while [[ $var == "" ]] to more bash friendly [ -z "$var" ]
got rid of some external commands and further improvements
Copy link

netlify bot commented Aug 23, 2024

👷 Deploy request for testnets-cardano pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b17a238

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.

1 participant