[CentOS] Bash Help
Joseph L. Casale
JCasale at activenetwerx.comMon Aug 17 14:01:57 UTC 2009
- Previous message: [CentOS] How to create a tun-device with CentOS packages only?
- Next message: [CentOS] Bash Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am trying to write a script that can pass cmd line args into an executable it runs, I need at least 4 args, but I need to pass the rest to it in the script if they exist. $@ doesn't help because I use the 1st and 2nd etc, so how do I elegantly handle passing args 4+ if they exist on the end of the command I call? Is there a simple way without constructing the command to execute on the fly by analyzing $# first and building it everytime? Thanks! jlc
- Previous message: [CentOS] How to create a tun-device with CentOS packages only?
- Next message: [CentOS] Bash Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list