bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wcat?


From: Pär Karlsson
Subject: Re: [Bug-wget] wcat?
Date: Wed, 19 Nov 2014 23:13:54 +0100

Or, realizing that even the simplest of shell scripts contain bugs, this
one is slightly better... and conforms better to GNU coding standards. :-)

/Pär

2014-11-19 22:50 GMT+01:00 Pär Karlsson <address@hidden>:

> Or, if there's any real need, may I suggest this simple patch for making a
> wrapper in contrib/wcat? :-9
>
> Best regards,
>
> /Pär
>
> 2014-11-19 22:34 GMT+01:00 William Tracy <address@hidden>:
>
>> I meant to send this to the whole list, sorry.
>> ---------- Forwarded message ----------
>> From: "William Tracy" <address@hidden>
>> Date: Nov 19, 2014 1:32 PM
>> Subject: Re: [Bug-wget] wcat?
>> To: "Dagobert Michelsen" <address@hidden>
>> 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" <address@hidden> wrote:
>>
>> > Hi Tim,
>> >
>> > > Am 17.11.2014 um 20:49 schrieb Tim Rühsen <address@hidden>:
>> > >
>> > > 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
>> >
>> >
>>
>
>

Attachment: 0001-Added-wcat-convenience-wrapper.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]