in reply to Re: UNIX command - remove 0 byte file
in thread UNIX command - remove 0 byte file

Whoa, you never know what little tid bits you'll find lying around the monestary. I never knew about the shell {1,2,3}.{a,b,c} construct.

Bravo!

Hazah! I'm Employed!

Replies are listed 'Best First'.
Re: OT: Re^2: UNIX command - remove 0 byte file
by Zaxo (Archbishop) on Sep 23, 2005 at 16:25 UTC

    Glad you like it. That works with perl glob, too.

    $ perl -e'print "@{[glob q({c,t}{a,o}{t,re})]}$/"' cat care cot core tat tare tot tore $

    After Compline,
    Zaxo