[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] QuickStart tutorial
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] QuickStart tutorial |
Date: |
Sat, 16 Oct 2010 11:55:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Rahul Prasad <address@hidden> writes:
>> We are not going to impose anything, there is nothing complicated in a
>> shell script expansion.
>>
> Not complicated for whome? Ask a noob and you will get your answer.
Isn't your proposed solution an expansion?
>> I don't think that "wget -batch 01-10 http://rahulprasad.com/pics/img[*].jpg"
>> is more understandable than "wget
>> http://rahulprasad.com/pics/img{01..10}.jpg",
>> not for an expert user nor for a novice one.
>> The latter is much more flexible, for example, how use the -batch
>> version to do something like:
>> "http://rahulprasad.com/pics/{1..5}/img{01..10}.jpg"?
>>
> Its programming dude.
> We can write an extionsion to parse
>
> wget -batch http://rahulprasad.com/pics/{1..5}/img{01..10}.jpg
>
> instead of
>
> wget -batch 01-10 http://rahulprasad.com/pics/img[*].jpg
>
> Discussion is not about syntax, its about feature.
So you are saying that users care if a specific feature is implemented
by wget or if it is done by the shell?
> What I said comes from my experience with non-technical people. I
> provide services to non-technical people. and I know how they think.
> And whats wrong with adding a feature, even if it can be achieved with
> shell script, even if it is dead simple to achieve with shell
> script. Why souldn't we integrate it with our application. Do you
> really care about application's size when people from remotest area
> can download wget in at max 5 mins.
>
> In other words:
> Do you really want people to run an external loop and call an
> application several time.
> Or want to do it internally?
> What if end user want to download 1000s of files. Should they make
> 1000 different connections or use same connection?
wget http://rahulprasad.com/pics/img{01..10}.jpg does re-use the
connection (when it is possible); in other words, in the best case, you
have one process and one connection.
> If things get complicated people can always run an external loop, but
> why shouldn't we reduce complexity at the first place.
We do, when it makes sense.
> Now a days number of people using Linux is increasing because things
> are getting uncomplicated. Do you really think "non-technical" people
> have time to learn, or even think of learning technical stuff?
People use GNU/Linux.
Still you haven't explained why
wget -batch "http://rahulprasad.com/pics/{1..5}/img{01..10}.jpg"
is clearer than:
wget http://rahulprasad.com/pics/{1..5}/img{01..10}.jpg
and why "non-technical" people needs less time to learn the first
version.
Cheers,
Giuseppe
- Re: [Bug-wget] QuickStart tutorial, (continued)
- Re: [Bug-wget] QuickStart tutorial, Ángel González, 2010/10/13
- Re: [Bug-wget] QuickStart tutorial, Rahul Prasad, 2010/10/13
- RE: [Bug-wget] QuickStart tutorial, Tony Lewis, 2010/10/13
- Re: [Bug-wget] QuickStart tutorial, Rahul Prasad, 2010/10/13
- RE: [Bug-wget] QuickStart tutorial, Tony Lewis, 2010/10/14
- Re: [Bug-wget] QuickStart tutorial, Ángel González, 2010/10/14
- Re: [Bug-wget] QuickStart tutorial, Rahul Prasad, 2010/10/14
- Re: [Bug-wget] QuickStart tutorial, Giuseppe Scrivano, 2010/10/15
- Re: [Bug-wget] QuickStart tutorial, Rahul Prasad, 2010/10/15
- Re: [Bug-wget] QuickStart tutorial, Giuseppe Scrivano, 2010/10/15
- Message not available
- Re: [Bug-wget] QuickStart tutorial,
Giuseppe Scrivano <=
Re: [Bug-wget] QuickStart tutorial, Micah Cowan, 2010/10/13