On Fri, 10 Jan 2003, Mike Vanecek wrote:

> ged ()
> {
>     while [[$1]]; do
>         gedit $1 & shift;
>     done
> }

This doesn't look right. The brackets are too close, and will not be 
properly tokenized. On my system:

    $ type ged
    ged is a function
    ged () 
    { 
        while [[ -n $1 ]]; do
            gedit $1 & shift;
        done
    }

Works fine on *my* RH 8.0 system, using bash2. Don't know what the problem 
is on your end.

-- 
"Of course I'm in shape! Round's a shape, isn't it?"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to