zombie_
June 13th, 2011, 03:31 PM
Hello every one,
I got a program that i run and get an output from it -> ./prog -i file-name
However I want to write a script to capture its output and write it in the output-file.txt.
How I can write the script (the-script) such that the 'file-name' treated a a variable?
Thanks in advance,
I got a program that i run and get an output from it -> ./prog -i file-name
However I want to write a script to capture its output and write it in the output-file.txt.
How I can write the script (the-script) such that the 'file-name' treated a a variable?
Thanks in advance,