I am new to shell script. I have two Perl scripts for text processing based on two different input files. I would like to have one shell script that runs based on conditions.
If (input file) matches word
perlscript1.pl otherwise run
Shell script to compile in terminal:
sh run.sh inputfile > outputfile