Subj : Re: Running a command dynamically in a script To : comp.os.linux From : Sybren Stuvel Date : Sat Jul 10 2004 01:54 pm steve enlightened us with: > Right on the money, Sybren. Great > # Get a command that works > call_text=`grep 1 source | cut -d',' -f2` That would have to be: call_text=`grep '^1,' source | cut -d',' -f2` or it'll match "301,ps" and "13,ps" too. > BTW, good sig. :-D Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? .