Search Results

Search: Posts Made By: rojomoke
7,082
Posted By rojomoke
Thanks for both responses, but as I said in my...
Thanks for both responses, but as I said in my original post, removing the space doesn't help, and putting the no-arg option first works fine. It's putting the -s after the -p5 (or -p 5) that...
7,082
Posted By rojomoke
Order of getopts parameters
Hi,
Does the order of argument and non-argument command line parameters matter to getopts?

with a getopts line in my script of
getopts p:cs opt

a command line of <script> -p 5 -s
only picks...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy