M
M
Maxim Kudryavtsev2020-08-06 19:59:44
bash
Maxim Kudryavtsev, 2020-08-06 19:59:44

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?

5f2c360043d3d503071991.png

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 answer(s)
L
Lynn "Coffee Man", 2020-08-06
@kumaxim

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 question

Ask a Question

731 491 924 answers to any question