I want a progress indicator that takes the output of a Perl
system('make')
and for each line output to STDOUT from the make command, I want to output a dot as a progress indicator. Unfortunately, I'm using the Term::ReadLine::Gnu Perl mod.
How do I redirect STDOUT to capture and count the lines as the make command is running?