[clug] Shell glob for a range of numbers?

Andrew Bishop andrew at bishop.dropbear.id.au
Thu Jan 8 23:20:16 GMT 2004


On Fri, 9 Jan 2004, McClure, Mike wrote:

[...]
> in a private reply yesterday i suggested this:
> "cp argus.log.{[5-9],1[0-9],2[01]}.gz /tmp"
>
> which doesn't have backticks, pipes or loops.

...and therefore has no chance of winning the "most convoluted 1-line
solution".  Really, I don't know why you even bothered :-)

Andrew


More information about the linux mailing list