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

Simplify "run command on every file in a directory" #79

Closed
ghost opened this issue Feb 12, 2023 · 2 comments
Closed

Simplify "run command on every file in a directory" #79

ghost opened this issue Feb 12, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2023

Am I wrong or could

$ for FILE in *; do echo $FILE; done

be simplified to

$ echo *
@flzara
Copy link

flzara commented Feb 13, 2023

I think you're missing the point here.
echo $FILE is just an example of a command. It's harmless and may be replaced by your own command.

Or maybe you're just trolling just like what you're doing in #76 🧌

@ghost
Copy link
Author

ghost commented Feb 13, 2023

I think you're missing the point here.
echo $FILE is just an example of a command. It's harmless and may be replaced by your own command.

Or maybe you're just trolling just like what you're doing in #76 🧌

They're the exact same command? You can just replace echo in both and it would function the same, Neither is harmless.

I'm not trolling here or in #76. Not sure what part of #76 you're confused by.

@ghost ghost closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
This issue was closed.
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