[Israel.pm] fork and rsh top

Gaal Yahas gaal at forum2.org
Thu Jul 15 08:22:04 PDT 2004

On Thu, Jul 15, 2004 at 06:24:02PM +0300, Tal Kelrich wrote:

> #now output
> for station in $stations ; do
> 	echo $station:
> 	cat ${tmpbase}_${station}
> 	rm ${tmpbase}_${station}
> done

Suggestion: do your rm'ing in a trap. That way you clean up on
unexpected events. Unimportantly and unnoticably more efficient, too.

Gaal Yahas <gaal at forum2.org>

More information about the Perl mailing list