bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature request: file_not_found_handle()


From: Greg Wooledge
Subject: Re: feature request: file_not_found_handle()
Date: Wed, 21 Aug 2013 08:10:50 -0400
User-agent: Mutt/1.4.2.3i

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'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]