I'm testing something where I'm compiling some code and analysing output with a Perl script.
So first I run make, manually copy & paste the output to errors.txt and then running my Perl script (running: perl analysis.pl) in terminal.
Is there away I can do this just with one line in bash?