On Wed, Aug 21, 2013 at 02:22:24AM -0800, Ken Irving wrote:
> $ cat $(ambler.method dispatch)
> #!/bin/bash
> method=$1 && shift
> test -n "$method" || exit
> for s in $(ls|shuf); do
> tob $s.$method "$@" &
> done
As far as I can tell, this is some incredibly stupid crap thrown together
by an "object oriented" junkie to try to make one language look like some
other language. That is ALWAYS a bad idea.
If you want to do a "method" to an "object", bash already provides a
syntax for that:
method object
Not:
object.method
The latter is ass-backwards. It's simply ludicrous. Stop it.
Now, look at this crap:
> for s in $(ls|shuf); do
Do you know how hard we work every day to try to stamp out these sorts
of bugs? This is so bad I'm laugh/crying right now.
touch 'this is a filename with spaces'