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

Documention example for migrating from xargs #1036

Open
srgfrog opened this issue Sep 1, 2023 · 1 comment
Open

Documention example for migrating from xargs #1036

srgfrog opened this issue Sep 1, 2023 · 1 comment

Comments

@srgfrog
Copy link

srgfrog commented Sep 1, 2023

Is it possible to include this example to book/coming_from_bash.html, to demonstrates how to migrate xargs?

ls -Q ~/Downloads/*.mp4 |  xargs  mpv --shuffle --vid=no

(ls ~/Downloads/*.mp4).name   | run-external  "mpv" "--shuffle" "--vid=no" $in
@sholderbach
Copy link
Member

Feel free to open a PR along those lines. I would recommend that the example only uses well known programs so you don't need to look for the example or install it to try.

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

2 participants