https://opensource.net.cn/programming-with-bash-part-3-loops/
 Loops in Bash for command-line power users