On replacing mini-cygwin's job with something a little less messy #139
jhudsoncedaron
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My checklist ended up looking like this:
[X] find
[X] xargs
[X] tr
[X] ln
[X] readlink
[-] sed (but a third party package is available on winget)
[-] unix2dos (you might know it as todos--the name varies)
[-] dos2unix (you might know it as fromdos--the name varies)
[-] chown
[/] rm (fixed in next release)
[/] grep (fixed in next release)
[X] wc
[X] permissive file sharing
[-] rsync
I actually wrote a small piece of code to verify the permissive locking: this comes up from time to time still because node likes to open files with DELETE (probably due to using MAXIMUM_ALLOWED) which means most Windows programs won't open them. grep $ file can read it though.
Yup; I expect chown should just work. There's an old binary from the NT4 days I could replace it with if I had to; but it's kind of worse than cygwin's version.
I have to admit, rsync is a nightmare, but there's already a discussion or two for that so I don't need to add to it.
Chown also has its own work item. So that leaves to discuss:
[-] sed (but a third party package is available on winget)
[-] unix2dos (you might know it as todos--the name varies)
[-] dos2unix (you might know it as fromdos--the name varies)
Beta Was this translation helpful? Give feedback.
All reactions