Skip to content

[pull] dev-2.x from oldratlee:dev-2.x #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 61 commits into
base: dev-2.x
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 13, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Aug 13, 2023
… instead of `&&-||`

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…cho` option(e.g. -e -n) may effect correctness 🐞 , `printf` is more robust 💪
…e `if-else` instead of `&&-||`

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…flect as exit code; improve portability(`portableRelPath/portableReadLink`)

NOTE:

- use `printf` 💪 instead of `echo`; use `if-else` instead of `&&-||`
  - the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…reflect as exit code; improve portability(`portableRelPath/portableReadLink`)

NOTE:

- use `printf` 💪 instead of `echo`; use `if-else` instead of `&&-||`
  - the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…o`; use `if-else` instead of `&&-||`; improve portability(`portableReadLink`)

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…es.sh`): use `printf` 💪 instead of `echo`; use `if-else` instead of `&&-||`

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…` instead of `&&-||`; use `${var#}` instead of `awk`

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
…`echo`; use `if-else` instead of `&&-||`

NOTE:

- the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- about `&&-||` see shell check:
  https://www.shellcheck.net/wiki/SC2015
- use `printf` 💪 instead of `echo`
  - the `echo` option(e.g. -e -n) may effect correctness, `printf` is more robust 💪
- use `if-else` instead of `&&-||`
  - about `&&-||` see shell check:
    https://www.shellcheck.net/wiki/SC2015
- small improvement/refactor
@oldratlee oldratlee force-pushed the dev-2.x branch 6 times, most recently from 6a7832d to 94a89c6 Compare September 5, 2023 07:22
@oldratlee oldratlee force-pushed the dev-2.x branch 7 times, most recently from 02f6a2e to 80d5041 Compare February 29, 2024 07:46
@oldratlee oldratlee force-pushed the dev-2.x branch 3 times, most recently from e449dc9 to 47f1e94 Compare March 3, 2024 00:58
@oldratlee oldratlee force-pushed the dev-2.x branch 3 times, most recently from e8a354c to fd420c9 Compare March 12, 2024 05:52
@oldratlee oldratlee force-pushed the dev-2.x branch 8 times, most recently from 9cc5680 to 934e57e Compare March 18, 2024 05:43
- keep `usage` function simple
- use `-s`/`-h` option for optional argument of `die` function
- use bash builtin `type -P` instead of `which` command 🐚
- rename var, use `COLOR_INDEX` instead of `COUNT`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants