Re: bash 1 liner help
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 mplayer "$i*"; done
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
- Winston Churchill
Reply to: