I meant to send this to the whole list, sorry. ---------- Forwarded message ---------- From: "William Tracy" <[email protected]> Date: Nov 19, 2014 1:32 PM Subject: Re: [Bug-wget] wcat? To: "Dagobert Michelsen" <[email protected]> Cc:
Two thoughts: 1. Curl already behaves this way out of the box, so the path of least resistance here would be to just use curl. Curl lacks wget's crawling features, but I don't see how you could use those features in this context, anyway. 2. If you are dead set on having a wcat command, you might have more luck getting this implemented by the package maintainer for your distribution than by the core wget team. William On Nov 19, 2014 12:41 PM, "Dagobert Michelsen" <[email protected]> wrote: > Hi Tim, > > > Am 17.11.2014 um 20:49 schrieb Tim Rühsen <[email protected]>: > > > > Am Montag, 17. November 2014, 09:05:52 schrieb Alfred M. Szmidt: > >> It would be nice if wget also installed a wcat command which would > >> default to something like, > >> > >> wget -o /dev/null -O - "$@" > >> > >> Would it be possible to add something like that? > > > > Something like > > > > $ alias wcat='wget -o /dev/null -O -' > > $ wcat www.example.com > > > > ? > > > > Put the alias into your ~/.bash_aliases or ~/.bashrc and that's it. > > > > What have I missed ;-) ? > > I think Alfred wants to have a behaviour similar to to gzip/gzcat where > you could also have similar structure but nonetheless gzip ships gzcat, > gzgrep etc. > > > Best regards > > — Dago > > -- > "You don't become great by trying to be great, you become great by wanting > to do something, > and then doing it so hard that you become great in the process." - xkcd > #896 > >
