1 |
On Monday, October 18, 2010 14:06:26 Mike Frysinger wrote: |
2 |
> On Monday, October 18, 2010 03:08:15 Michał Górny wrote: |
3 |
> > On Wed, 13 Oct 2010 17:46:43 -0400 Mike Frysinger wrote: |
4 |
> > > On Wednesday, October 13, 2010 15:57:17 Amadeusz Żołnowski wrote: |
5 |
> > > > And why putting different tasks into one function? |
6 |
> > > |
7 |
> > > for the same reason we dont have separate test binaries: test_exist, |
8 |
> > > test_file, test_dir, etc... |
9 |
> > > |
10 |
> > > it makes more sense in my mind to combine the functionality. |
11 |
> > |
12 |
> > And we finally reach the point where there is no reason to implement |
13 |
> > a new function when it's supposed to be basically longer and more |
14 |
> > unclear to use than: |
15 |
> > |
16 |
> > [[ -f a || -f b || -f c ]] |
17 |
> |
18 |
> except that we're using globs, so our example isnt applicable. |
19 |
|
20 |
err, "our" -> "your" |
21 |
-mike |