In a script I have this code path="/usr/namelist" for name in "${path}/${group}"*; do found_list="${found_list} ${found_name}" done
The "done" starts another loop. How do I code to know when the "for" has completed. I want to echo "results of for = ${found_list}" to see the accumulated contents. If I put the echo after the "done" I see it for each loop.
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"