I have a list of shell scripts which needs to be run sequentially and they take a different text file as input parameter. I tried to put all the scripts into a file and source the file.
But there is a bash error coming up. What is the best way to do this. My files are:
sh test.sh --dir hello --fname 1.txt --bdt 0318
sh test.sh --dir hello --fname 2.txt --bdt 0318
Here dirname is the directory fname is filename.
source ./test