Re: bash 1 liner help

2004-10-14 Thread David Clymer
On Thu, 2004-10-14 at 07:26, Maurits van Rees wrote: > On Wed, Oct 13, 2004 at 11:37:39PM -0400, David Clymer wrote: > > mplayer {08,09,10,11,12}*.ogg > > I always like `seq' for things like this. I just discovered the -w > option that is useful here: > > $ seq -w 8 12 > 08 > 09 > 10 > 11 > 12 >

Re: bash 1 liner help

2004-10-14 Thread Maurits van Rees
On Wed, Oct 13, 2004 at 11:37:39PM -0400, David Clymer wrote: > mplayer {08,09,10,11,12}*.ogg I always like `seq' for things like this. I just discovered the -w option that is useful here: $ seq -w 8 12 08 09 10 11 12 So then something like the following can be used: for i in `seq -w 8 12`; do m