Hacker News new | past | comments | ask | show | jobs | submit login

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.



No need to merge code. Take curl as is, and set different defaults based on executable name.


In 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.


Sounds like a lot of complexity for no benefit.


Either tool can provide the functionality of the other with a little work, is what I meant to imply...


It's what vi does.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: