-
In many CLI parsers, it is a common convention to use `--` as a special argument which will force all subsequent arguments to be read as positional/"free". After a quick glance at documentation and co…
-
Need to start making script flexible brainstorming list
- [x] run up until specific stage
- [x] run specific stage only (with warning)
- [x] override atlas/template/subject detected resolution
- [x] f…
-
If multiple command line options are used only the first one gets parsed. eg. "-c configpath --force". This is caused by misplaced "break" commands
```
# Generic command line options
while true ;…
-
Hi All,
I am not sure if anyone is maintaining this alert but they have recently stopped working. You need to add the following to your service script:
Line 33&34:
`-X HOSTNOTES (\$host.notes\$)`…
-
The current way options are handled seems a little hacky. Using `getopts` would be ideal, but it doesn't support long options. Something like [this](http://mywiki.wooledge.org/BashFAQ/035) is probably…
-
The automated install of the tableau-server-single-node template deploys an Ubuntu 16 VM on Azure but then fails to install Tableau.
This is because line 7 of
azure-quickstart-templates/tableau-…
-
Using this pattern, we can detect whether GNU getopt is available and use it:
```
getopt -T > /dev/null
if [ $? -eq 4 ]; then
# GNU enhanced getopt is available
set -- `getopt --long he…
-
fluxbox-generate\_menu doesn't work if /bin/sh isn't
bash \(specifically, if it doesn't support getopts\).
Changing the first line from "\#\!/bin/sh" to
"\#\!/bin/bash&am…
-
Trying to run this on a new (August 2023) Surface Laptop 5, running Ubuntu 22.04.3 with the linux-surface kernel installed, gives me:
$ `bash -x repack.sh -f ../SurfaceLaptop5_Win10_19044_22.102.1…
-
See https://github.com/docker/docker/issues/7396 - I think we need avoid the situation that Docker has right now by saying that we're going to do what `getopts` does.
ping @mikebrow