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

No Subject



b ()
{
        UP=".."
        SUB="0"
        until [ $SUB -gt "$1" ]; do
                BACK=$(( $BACK/$UP ))
        done
        cd $BACK
}


okay, i've come up with this little gem, except that it doesnt work :)
i am getting the error:



bash: /.. : syntax error in expression (remainder of expression is "/.. ")

so, what am i doing wrong here, if i may be so blunt?

thanks

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.