6

shell script-running two perl script based on input

view full story
linux-howto

http://unix.stackexchange.com – 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 run based on conditions. if(input file) matches word /extraction_reversed/ run perlscript1.pl otherwise run perlscript2.pl. Shell script to compile in terminal sh run.sh inputfile > outputfile (HowTos)