in reply to running an interactive only program using perl
cat /tmp/stuff.txt | yourprog yourprog < /tmp/stuff.txt # if it's just the filename you need (if not, can always use <c>echo - +e</c> to print \n newlines): echo filename.ext | yourprog # loop (bash syntax) over all your files and process them: for f in *.dat ; do echo $f | yourprog ; done
|
|---|