[Bash scripting #1] Parsing options with getopt

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 1

  • @AM-tu1rc
    @AM-tu1rc 5 місяців тому

    This was a good overview, but I feel that your approach of describing the complex script with everything together, and then going into detail was confusing. It might be a bit easier for viewers to learn things by building the blocks up, like taking a simple example, then expanding capabilities step-by-step until we get to the complex script rather than the other way around. If you are trying to explain a specific tool (getopts), it would be helpful to just focus on that tool in a simpler base script rather than the complex script setup you have because viewers will be confused by things that may not be relevant. Despite having decent experience in Bash scripting, I was pretty lost for the first 35% of this video until you started explaining things line by line. It might be helpful to explain the base concepts first because your viewers will not really understand much in the sweeping overview of the complex code at the start and may get turned off if they don't stick around.