In article <12126 at chaph.usc.edu> szeto at aludra.usc.edu (Johnny Szeto) writes: > ? set g=`sed 's/\(.*\)2/\1/'<<fg > ? $r[$b] > ? fg` The easiest solution (unfortunately) is `echo "$r[$b]" | sed`. ---Dan