Call a Dynamically Created Function Name in a Shell Script

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 4

  • @ayex86
    @ayex86 15 дней назад +1

    Interesting tool. Thanks.

  • @ned-507
    @ned-507 15 дней назад +1

    Thank you!

  • @thiagolopes4978
    @thiagolopes4978 15 дней назад

    One thing I always add to scripts like these, is a line right after the 'set's that you are calling first, to ensure they always run on the directory where the script is located. It is kind of a "security" principle for me, so I can create a bin folder at my projject and add them there, and I can even run the script at my home folder, since they will always be the same. Nice video, thanks!

    • @NickJanetakis
      @NickJanetakis  15 дней назад

      That does come in handy for scripts that depend on certain relative paths existing that might not be on your system path, such as project related files in your case.