Brett Parker <iDunno@sommitrealweird.co.uk> wrote:
Hmm, useful. Sortof. Though, other than you, dear Mark, who else is running the rc shell? I'd make an assumption that most people are using bash, or some derivitive of sh. [...]
In bash, you could do "cp $(seq -fdcp_11%g.jpg 58 83) dest" for the same effect, but it's not as general.
[...] which causes problems in this and other situations, instead of doing what you usually want. Well, no, it wouldn't because I'm very very used to how bash expands things ;)
So why did you use for and xargs to bring that into the problem? ;-) Anyway, the point was that Dave was expecting the obvious thing and bash doesn't do the obvious thing: a bug in bash not Dave. -- MJ Ray (slef), K. Lynn, England, email see http://mjr.towers.org.uk/