stie cineva de ce nu pot folosi expr cu stringuri (asa cum merge pe orice linux)?

#!/bin/sh

b="jk adsf"
x=`expr length $b`
echo $x
__________________

la length problema e simpla deoarece pot inlocui cu x=${#b}, dar cum pot inlocui "expr index" ???

__________________________________________________________
Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe



Raspunde prin e-mail lui