On Monday, October 18, 2010 03:08:15 Michał Górny wrote:
> On Wed, 13 Oct 2010 17:46:43 -0400 Mike Frysinger wrote:
> > On Wednesday, October 13, 2010 15:57:17 Amadeusz Żołnowski wrote:
> > > And why putting different tasks into one function?
> > 
> > for the same reason we dont have separate test binaries: test_exist,
> > test_file, test_dir, etc...
> > 
> > it makes more sense in my mind to combine the functionality.
> 
> And we finally reach the point where there is no reason to implement
> a new function when it's supposed to be basically longer and more
> unclear to use than:
> 
> [[ -f a || -f b || -f c ]]

except that we're using globs, so our example isnt applicable.
        [[ -f */a ]]
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to