Answer the question
In order to leave comments, you need to log in
Am I reading the bash script correctly?
Good day to all.
There is a bash script that is used as an entrypoint for the docker image. The script is not mine and contains several constructions that seem to be intuitive, but I did not find any mention of them anywhere in the documentation. Please look at the picture below and tell me if I understand the process and sequence of code blocks execution correctly?
Also I don't understand what does "* )" mean at the end of case? Is it something like PHP's default section (execute if nothing else fits) or should it be taken literally?
Answer the question
In order to leave comments, you need to log in
1 and 2 - yes
3 - anything that did not fall into the previous paragraphs (the list from the first paragraph or app: help). Yes, this is an analogue of default: in PHP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question