Rahul Prasad <[email protected]> writes: > 2010/10/15 Giuseppe Scrivano <[email protected]> > > The user can learn how write a basic shell script. > > > So, you mean we should remove all the features which can be achieved > by scripting.
Only those that can be _easily_ achieved by scripting. > Why do you want to impose something on end user. > It should be an end-user's decision to choose whether or even what he > wants to learn. > > I totally disagree with you. A good software should always consider > its end-users a novice. > > Sometimes in order to make our linux user community more > "knowledgeable" or "advance" we forget that most people don't want to > learn technical stuff. We prefer to call it GNU/Linux, not just Linux. We are not going to impose anything, there is nothing complicated in a shell script 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"? Also, as I have already said in this thread, shell expansions can be used with other programs as well without learn a completely different syntax; and this is a great advantage. Cheers, Giuseppe
