4 ms·
Merge the code, hard link the filenames to the same executable and get it to change behavior based on the name it's invoked under.
by theoh 11y ago
Merge the code, hard link the filenames to the same executable and get it to change behavior based on the name it's invoked under.
- kcbanner 11y agoSounds like a lot of complexity for no benefit.
- eru 11y agoNo need to merge code. Take curl as is, and set different defaults based on executable name.
- deleted 11y ago[deleted]
- lucb1e 11y agoIn that case I'd love for it to include resuming downloads though, but given the differences I don't think merging is going to be more useful than just adding the feature in curl. Edit: nevermind, I just learned that wget can download a page's resources or even inline them (-k apparently), that's a bit of a way off from curl's purpose. Better keep them separate tools, although wget might benefit from using libcurl so they don't have to implement lots of stuff like https or http2.