[Nottingham] "unescaping" the wildcard character for xargs

Martin martin at ml1.co.uk
Tue Jun 19 13:55:49 UTC 2012


On 19/06/12 14:04, Camilo Mesias wrote:
> I'm guessing you haven't had to use 'glob' before. It's a bash feature
> that will re expand for you. Try piping through glob before xargs and
> all should be well.

Please expand further?

There's:

man 7 glob


However, there is no explicit "glob" command nor one that bash interprets...

So, how do you do a:

<command> | glob | xargs cat

?


bash: glob: command not found

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