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

Bump bash version (currently 4.3) #281

Open
2 tasks
Jeansen opened this issue Dec 7, 2022 · 6 comments
Open
2 tasks

Bump bash version (currently 4.3) #281

Jeansen opened this issue Dec 7, 2022 · 6 comments

Comments

@Jeansen
Copy link
Owner

Jeansen commented Dec 7, 2022

On project setup Bash v4 was current. Now, we are at v5.

  • Update script to Bash 5 (there should bee some goodies available)
  • Update version requirement
@Jeansen
Copy link
Owner Author

Jeansen commented Dec 7, 2022

The new wait shoud be useful, as it waits for the whole process to finish instead of only a result change.

@Jeansen
Copy link
Owner Author

Jeansen commented Dec 7, 2022

Not strictly Bash 5, but also very useful: coproc

@Jeansen
Copy link
Owner Author

Jeansen commented Dec 7, 2022

Also of interest: SIGCHLD

@Jeansen
Copy link
Owner Author

Jeansen commented Dec 7, 2022

And I should think about noclobber to make the script even more rigid!

@Jeansen
Copy link
Owner Author

Jeansen commented Dec 7, 2022

Timestamps in the log could avoid calls to date, e.g. printf '\n%(%a, %d %b %Y %T)T\n'

@Jeansen
Copy link
Owner Author

Jeansen commented Dec 8, 2022

printf -v could also be of some help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress (next version
Development

No branches or pull requests

1 participant