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

Scripts: use niceties like $@, local, ...=(*) etc., and undo all the tedious rookie ${var} chickening... #30

Closed
xparq opened this issue Jan 29, 2023 · 2 comments

Comments

@xparq
Copy link
Owner

xparq commented Jan 29, 2023

I mean, now that I actually looked at the ash manpage, I can be sure that $var is just fine. :) (Yyyep, it would have taken less effort to look it up upfront than all the repeatedly mistyped { and }...)

@xparq xparq changed the title Scripts: use niceties like local, ...=(*) etc., and undo all the tedious rookie ${var} chickening... Scripts: use niceties like $@, local, ...=(*) etc., and undo all the tedious rookie ${var} chickening... Jan 29, 2023
@xparq
Copy link
Owner Author

xparq commented Jan 29, 2023

Non-subshell cmd grouping with {...; ...; } (mind the trailing ;!), e.g. for nicer oneliners, or common redir:

{ cmd1; cmd2; } > out

@xparq
Copy link
Owner Author

xparq commented Feb 2, 2023

OK, now that the test scripts have a new home, closing this here, and continuing there: xparq/Space_Test#30

Wow: amazingly, that issue ID also happens to be 30! :)

BTW. the other "Scripts: ..." issues should also be migrated!

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

No branches or pull requests

1 participant