#!/usr/bin/perl -w use strict; $|=1; my $limit=20; for(my $i=0; $i<$limit; ++$i) { print "$i\n"; system("/bin/echo echoing -- $i"); }