shell->一个经典的shell脚本结构
摘要:shell脚本类常用的条件分支判断是if,case。但是也可以用其他的方式来实现,如下脚本文件名字为mfc。其中每一个独立的函数都是一个分支,函数上的注释即是该函数的说明信息。 1 #!/bin/sh 2 3 # fun1: note: the first test function 4 # fun
阅读全文
posted @ 2019-12-27 15:15
posted @ 2019-12-27 15:15
posted @ 2019-12-27 15:11
posted @ 2019-12-27 15:09
posted @ 2019-02-13 10:08