On Fri, Oct 19, 2007 at 03:52:49PM -0700, H. Peter Anvin wrote:
> Oleg Verych wrote:
> >
> >I hope "most of the `test` usage is two or three arg ops"
> >considered valid.
> >
> >@/etc/init.d$ grep -R -e '\[ ' -e 'test ' * | grep -e ' -o ' -e ' -a ' | 
> >wc -l
> >14
> >@/etc/init.d$ grep -R -e '\[ ' -e 'test ' * | wc -l
> >567
> >@/etc/init.d$
> >
> >Now i'm sure.
> 
> So what's the point?  It's hardly a significant amount of complexity (if 
> it is, it's implemented poorly.)

Incorrect handling of was starting issue:

test '!' = whatever
test '(' = whatever

During source review i happened to rewrite all `test.c` with 50% text
size off, with linux's euidaccess() instead of broken stat()+bash-magic.

I've wrote "[!] 2-3 arg ops" openly. Now i have to reinvent "( -a -o )"
stuff. And i just thought, it doesn't pay much. So far i didn't see
convincing technical counter examples for my proposition A. That is
the point.
____
-
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to