Timeline for bash script combining commands enable flags?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 25, 2019 at 23:57 | vote | accept | gwyns | ||
| Oct 25, 2019 at 5:47 | answer | added | Kusalananda♦ | timeline score: 2 | |
| Oct 25, 2019 at 4:00 | review | Close votes | |||
| Nov 9, 2019 at 3:05 | |||||
| Oct 25, 2019 at 3:45 | history | edited | gwyns | CC BY-SA 4.0 |
added 43 characters in body
|
| Oct 25, 2019 at 3:44 | comment | added | gwyns | Ahhh, thank you. I forgot to put it in when I rewrote the post, I'll pop it in. That fixed it, thank you very much @steeldriver | |
| Oct 25, 2019 at 2:12 | comment | added | steeldriver | Related: Pass command line parameters to a program inside the shell script | |
| Oct 25, 2019 at 2:11 | comment | added | gwyns | thank you. would I just put that in a new line on the script? | |
| Oct 25, 2019 at 2:04 | comment | added | glenn jackman |
You can use the bash builtin command getopts so that your script can process its arguments and you can pass them on to whichever command. Search here and Stack Overflow for getopts, there are loads of examples.
|
|
| Oct 25, 2019 at 1:55 | review | First posts | |||
| Oct 25, 2019 at 3:34 | |||||
| Oct 25, 2019 at 1:52 | history | asked | gwyns | CC BY-SA 4.0 |