And, assuming "Program2 -t" outputs "chicken" your script would be the equivalent of "Program1 -q chicken" How can I duplicate this in DOS scripting or other windows scripting? (Windows 7, FWIW) ...
If you run into problems building, testing or running complex bash scripts, don’t lose heart. There are many ways you can help ensure that your scripts will work flawlessly. In this post, we’ll ...