-
Hand coded options parses are always a bad idea.
At least use getopts BASH built-in: https://wiki.bash-hackers.org/howto/getopts_tutorial
Or even better, getoptions: https://dev.to/ko1nksm/the-e…
-
If I understand correctly, the TypeScript types are for the CommonJS version of the code. When using `"module": "ES2022"` in `tsconfig.json` with `allowSyntheticDefaultImports: false`, importing `geto…
-
**Is your feature request related to a problem?**
Right now build.sh uses a hybrid of positional parameters and getopts to parse the rest of the parameters.
The problem is that getopts stops parsin…
vidia updated
2 years ago
-
Will it be possible to support something like such in Bash `getopts`?
``` bash
#! /bin/bash
while getopts ":t:" opt; do
case $opt in
t)
TAGS+=($OPTARG)
;;
esac
done
shift $((OPTI…
-
Let's Encrypt client `acme.sh` fails to run correctly because Busybox it's `CONFIG_ASH_GETOPTS` is not set.
Despite "Automatically generated make config: don't edit" I would edit trunk/configs/boar…
-
### What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
```
X33.3
Qt 5.9.5
macOS High Sierra
```
### What version of Go are you using (`go version`)?
`go v…
ghost updated
6 years ago
-
### What is the problem this feature would solve?
handling command options in a Bun Shell script
### What is the feature you are proposing to solve the problem?
https://www.ibm.com/docs/en/aix/7.3?…
ghost updated
5 months ago
-
If data is present in either ~/.aws/config or ~/.aws/credentials, whatever bash magic is happening in the scripts isn't working. I enabled debug mode in the scripts by adding `#!/bin/bash -ex` at the…
-
shellcheck should recommend to use `local OPTIND` in case you parse the options with getopts and then call a different function that uses getopts again.
I don't know if shellcheck is sophisticated eno…
-
## :rocket: Feature Request
### Checklist
- [x] No duplicate issues/PRs
- [x] Are you running the latest `downgrade` release from the [AUR](https://aur.archlinux.org/packages/downgrade/)?
##…