Need help writing shell script!

view full story

http://www.unix.com – Hi, I'm very new to this, so bear with me please. I want to write a sh script (or if there's a better format please let me know) that allows me to, when I run it, print the date to a file (1.out) take 2 arguments (files a.fa and b.fa), run them with another program, outputting to 2.out, and then printing the date again in 1.out. So basically something along the lines of: example.sh date ./program.exe argv[0] argv[1] >> 2.out #argv[0]_argv[1].out rather than 2.out date and I would run example.sh like so: sh example.sh a.fa b.fa >> 1.out and 1.out would read: (HowTos)