-
Notifications
You must be signed in to change notification settings - Fork 93
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
Remove subshells and external commands (= sed) #17
Comments
Hey @d630! Thanks for the contributions, I'll give them a look over the next day and pull them in. What would you say are the major benefits of removing the subshells and sed? Simplicity, portability, speed? Appreciate it 👍 |
Hey! It is unnecessary to use sed, because bash can do the job itself (and in the end even faster). Command substitutions are only necessary, if we do need the output of a command. But in #15 and #16 it is sufficient to work with exit/return status. See also SubShell. So, the major benefits are simplicity and speed |
Hi,
I have opened four pull requests. Don't know, whether they are compatible with Bash on BSD
#13, #14, #15, #16
The text was updated successfully, but these errors were encountered: