Tag:bash programming style
#!/bin/bash#=======================================================================================## file: bash_code_style.txt# # USAGE: bash_code_style.txt [-h] [copy bash_code_style]## description: Copy bash style guide and coding standard .# the default copy example is the current text .# dont.t find text on other directories .## OPTIONS: see fuction ' usage ' below # requirements: -- -# bugs: ---# NOTES: --- # author: dr.-vision. simple (SP) # COMPANY: China# version: 1.0# created: 12.07.2015 - 10:15:30# revision: 12.07.2015# PROJECT: xxx# copyritht: copyright (c) 2002-2020 Xxxshell, all rights reserved##======================================================================================= #If required, additional information has to be added (e.g copyright note,project assignment). # function comments#=== function ====================================================================# NAME: # description: display usage information for this script.# PARAMETER 1: ---#===================================================== ==================================# section comments#----------------------------------- ----------------------------------------------------# delete links, if demanded write logfile#---------------------------------------------------------------------------------------# line end comments
This article is from the "focus on background design" blog, make sure to keep this source http://xleft.blog.51cto.com/955567/1895538
Shell Programming Style templates