1

Need help to read command line arguments?

view story
linux-howto

http://www.unix.com – I am new to schell scripting . My objective is to write a ksh shell script that performs following tasks: - 1. Script reads all command line arguments (arguments are file names) and checks if it contains charachters "abc" in it. 2. If it contains "abc" it will execute a binary file xyz <command line arguments> Note: - 1. arguments can be from 1 to n. 2. arguments passed to this script will be used as arguments to execute binary xyz. (same arguments are used to execute shell script as well as binary) (HowTos)