Re: bash 1 liner help
On Wed, Oct 13, 2004 at 09:48:39PM -0500, Lance Hoffmeyer wrote:
> I have a set of files:
> I wish to play only the file 08-12*.ogg.
> If I wanted to play files 07-09 I would
> do something like
>
> mplayer 0[7-9]*.ogg
>
> How can I use regular expressions to play files
> 08-12?
$ mplayer {0[89],1[0-2]}*.ogg
$ info '(bash)Brace Expansion'
===
Mplayer cannot tell any difference between:
mplayer 0*.ogg
and
mplayer 05file.ogg 06file.ogg 07file.ogg
and
mplayer 0[56]file.ogg 07file.ogg
--
The world's most effective spam filter:
ln -sf /dev/full /var/mail/$USER
Reply to: