Posted by: |<1$|-| June 29, 2007
Login in to Rate this Post:
0
?
Hope this one helps. If you are looking for something else, let me know..
#!/bin/bash
MYVAR="SGDUNK223.R_D02_08.ab1"
NAMEONLY=`expr match $MYVAR '\([a-zA-Z]*\)'`
RESULT=${MYVAR#$NAMEONLY}
echo $RESULT