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

Re: Script in BASH!




> if [ $((`echo $USER | cut -c1`)) = 0-9 ]; then

I know this isn't quite the answer you want, but it should work:

A=`echo $USER | cut -c1`
if [ $A -ge 0 ] && [ $A -le 9 ]; then


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