If you know MEL please help

I know this will be an easy answer for all those who are MEL savy... I need to know how to execute a command to a selection list. i know how to get the list;

string $selected_s[] = ls -sl;

but I need to apply a command to all things in the list and [as I have no programming exp.] I cant find any syntax for that...

any suggestions, literature, ect..

thanks a lot, really appreciate it.

-kyle

string $selected_s[] = ls -sl;

for($node in $selected_s)}

do etc to $node;

}

yes.

Remember that you can also list stuff by type using the -type flag and by characters in the name.

There's a really great book on the topic out there.... but I'll stop before I plug it again...

-- Mark

P.S. sorry but I guess that counts as "literature," right?

lol... actually i think i ordered that book the other day... it just hasn't arrived yet

thanks for the help guys