want to make multiple flags in script?
I want to make a multiple flags for my script. And didn't work like what I want it.
Code:
#!/bin/bash Quote:
|
1. Bash interpretor will not run into your functions directly. As you have it right now, the interpretor bypasses your functions.
You have to invoke your function explicitely from the script. Add wherecpy at the end of your script. 2. As you have it right now, only one parameter will be added to 'cp' command. You need something like this in funcpy function: Code:
<here the user input> |
I did it like this way
Code:
#!/bin/bash Quote:
How I can make the flags rest ? I did one but didn't work. |
what does "How I can make the flags rest ? I did one but didn't work.' this sentence mean?
Probably you missed a = here: Code:
5) clear #to rest the flags (but not working :/ ) |
thanks!
|
All times are GMT -5. The time now is 10:09 AM. |