Bash command line arguments
Hi,
I am writing a simple bash script that reads bunch of command line arguments and calls couple of other program passing those options. When someone invokes, myscript.sh arg1 arg2 arg3 arg4 arg5 file myscript.sh program1 arg1 arg2 arg4 program2 arg1 arg3 arg3 arg5 How can I do this? Thanks. |
Check for "Positional parameters" on this page.
|
All times are GMT -5. The time now is 03:28 PM. |