<p>I&#39;m guessing you haven&#39;t had to use &#39;glob&#39; before. It&#39;s a bash feature that will re expand for you. Try piping through glob before xargs and all should be well.</p>
<div class="gmail_quote">On Jun 19, 2012 1:28 PM, &quot;Martin&quot; &lt;<a href="mailto:martin@ml1.co.uk">martin@ml1.co.uk</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 19/06/12 13:19, Rory Holland wrote:<br>
&gt; That&#39;s what I&#39;ve since discovered.<br>
&gt;<br>
&gt; I&#39;m rewriting in Python, frankly<br>
<br>
I&#39;ve just been blundering through a few &quot;wild ones&quot; with bash for<br>
something that I thought would be trivially simple and ideal for piped<br>
processing. Unfortunately, the ease and elegance got completely undone<br>
by some rather irksome quirkiness lingering from decades ago... The end<br>
result works fine, but it is far from neat or elegant. Worse still, the<br>
code is far from &#39;obvious&#39; due to too many quirks hidden behind must-use<br>
command flags.<br>
<br>
Perhaps some of the gnu tools need a tidy-up after 30 years! (With some<br>
care to maintain backwards compatibility...)<br>
<br>
More on that later...<br>
<br>
<br>
Cheers,<br>
Martin<br>
<br>
--<br>
- ------------------ - ----------------------------------------<br>
-    Martin Lomas    - OpenPGP (GPG/PGP) Public Key: 0xCEE1D3B7<br>
- martin @ ml1 co uk - Import from   hkp://<a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a>   or<br>
- ------------------ - http:// ml1 .co .uk/martin_ml1_co_uk.gpg<br>
<br>
_______________________________________________<br>
Nottingham mailing list<br>
<a href="mailto:Nottingham@mailman.lug.org.uk">Nottingham@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/nottingham" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a><br>
</blockquote></div>