-
Notifications
You must be signed in to change notification settings - Fork 396
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
cmds/core/xargs: minimal xargs, just passing args #2782
Conversation
Parsing is simplified by strings.Fields, so no quotes support. Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
Codecov ReportAttention:
... and 5 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interestingly, xargs with no args is cat (from experiment)
might want to make the run function take a variadic?
Interesting because both from Linux man page
It can be done, but os.Args is kinda variadic already. So maybe I missing how it will improve any scenario? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my comment is really not that important, I leave the decision to you.
Signed-off-by: Siarhiej Siemianczuk <pdp.eleven11@gmail.com>
Parsing is simplified by strings.Fields, so no quotes support.