Commit graph

3 commits

Author SHA1 Message Date
a2bc8c4f38 Create versionned directories of the helpers 2024-05-27 16:08:10 +02:00
Chris Vogel
3b8a91efe6
Update getopts to accept arguments that are valid arguments to echo
The usage of `echo` to output arguments to to a pipe leads to the problem that arguments that are valid to `echo` itself cannot be processed:

```
root@yt:~# TEST='-n'
root@yt:~# printf '%s\n' $TEST
-n
root@yt:~# echo "$TEST"
root@yt:~# echo "debug $TEST"
debug -n
```

Replacing `echo` with `printf` improves the situation.
2024-05-21 10:15:13 +02:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Renamed from data/helpers.d/getopts (Browse further)