[Nottingham] "unescaping" the wildcard character for xargs

Martin martin at ml1.co.uk
Tue Jun 19 12:27:06 UTC 2012


On 19/06/12 13:19, Rory Holland wrote:
> That's what I've since discovered.
> 
> I'm rewriting in Python, frankly

I've just been blundering through a few "wild ones" with bash for
something that I thought would be trivially simple and ideal for piped
processing. Unfortunately, the ease and elegance got completely undone
by some rather irksome quirkiness lingering from decades ago... The end
result works fine, but it is far from neat or elegant. Worse still, the
code is far from 'obvious' due to too many quirks hidden behind must-use
command flags.

Perhaps some of the gnu tools need a tidy-up after 30 years! (With some
care to maintain backwards compatibility...)

More on that later...


Cheers,
Martin

-- 
- ------------------ - ----------------------------------------
-    Martin Lomas    - OpenPGP (GPG/PGP) Public Key: 0xCEE1D3B7
- martin @ ml1 co uk - Import from   hkp://subkeys.pgp.net   or
- ------------------ - http:// ml1 .co .uk/martin_ml1_co_uk.gpg



More information about the Nottingham mailing list