You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an sh file that is used as a proxy for a binary. However I want to only parse "some" options while forwarding the others to the binary. Example: my.sh --proxy-option 1 --opt1 --opt2 - I want to only parse proxy-option while having the other options in "$@" (--opt1 --opt2). Is this possible?
The text was updated successfully, but these errors were encountered:
sph3rex
changed the title
Is there any way to ignore not defined option?
[Question] Is there any way to ignore not defined option?
Jul 28, 2021
My use case is something like this:
I have an sh file that is used as a proxy for a binary. However I want to only parse "some" options while forwarding the others to the binary. Example:
my.sh --proxy-option 1 --opt1 --opt2
- I want to only parseproxy-option
while having the other options in "$@" (--opt1 --opt2). Is this possible?The text was updated successfully, but these errors were encountered: