I have thousands of two set of files one with name.ext and another files name ending with name.ext.in, so for every name.ext there is a name.ext.in and now i have to pass this a
If you want to run customise.pl for each pair of files, you can do it like this in a bash script:
#!/bin/bash for i in `ls *.ext` do customise.pl $i $i.in done