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

GNU find script #2

Closed
jayvdb opened this issue Jun 27, 2016 · 5 comments
Closed

GNU find script #2

jayvdb opened this issue Jun 27, 2016 · 5 comments

Comments

@jayvdb
Copy link

jayvdb commented Jun 27, 2016

Would you be interested in shipping a find script that implements a GNU find like command line syntax?
It doesnt need to support all GNU find options to be useful.
It would be handy to have as a drop in solution for GNU find on MS Windows, especially for tox tasks.

@ewiger
Copy link
Owner

ewiger commented Jun 27, 2016

@jayvdb before going there, just for my curiosity why not to use msys (as in msysGit) or cygwin or http://babun.github.io and so on - i.e. any project aiming on non-programmatic portability of the command line shell. I would imagine you need many more unix tools once you got _find_, wouldn't you agree?

@jayvdb
Copy link
Author

jayvdb commented Jun 27, 2016

Those are helpful for a reasonable development environment for general use, but tox is a simple environment for predetermined cross-platform rules.
tox prefers python installed scripts, but find and xargs are very handy to perform file operations. findx provides a nicer cli than the gnu clis, but it depends on the gnu tools existing, or fake work-alikes.

urllib3/urllib3#726 is another case where a win32 gnu find would have been helpful.

@ewiger
Copy link
Owner

ewiger commented Jul 30, 2020

Chosing the OS is largly a question of choice. Windows is simply not GNU. There is also much better Linux support with docker for desktop and WSL2 features. I think those are very interesting options to work with.

I am closing this, as there is little I can help with.

However If you are willing to contibute a solution that is still somehow reflects your points, please feel free to open a PR. Thnx.

@ewiger ewiger closed this as completed Jul 30, 2020
@ewiger
Copy link
Owner

ewiger commented Jul 30, 2020

On the second thought it could also be that I am missign your point about tox. Can you give a code example how that would look like? Thanks

@jayvdb
Copy link
Author

jayvdb commented Jul 30, 2020

Early I mentioned the tox example - linking deeper: https://github.com/urllib3/urllib3/pull/726/files#diff-b91f3d5bd63fcd17221b267e851608e8R12 - there I use reFILE , but it is not nearly as nice as the findtools CLI.

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