Skip to content

Conversation

luizluca
Copy link
Contributor

  • use subshell to avoid leaking vars to current shell
  • use POSIX 'test -t' instead of tty
  • have a single place to call curl
  • echo the output url to add the carrier return when needed.
  • use printf to process \n
  • silence curl instead of teeing /dev/null

- use subshell to avoid leaking vars to current shell
- use POSIX 'test -t' instead of tty
- have a single place to call curl
- echo the output url to add the carrier return when needed.
- use printf to process \n
- silence curl instead of teeing /dev/null
@aspacca aspacca merged commit a6f197a into dutchcoders:main Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants