saundy 发表于 2018-8-24 13:06:35

Shell编程风格模板

#!/bin/bash  
#=======================================================================================
  
#
  
#         FILE:    Bash_Code_Style.txt
  
#
  
#          USAGE:    Bash_Code_Style.txt [-h]
  
#
  
#    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.
  
#PARAMETER1:    ---
  
#=======================================================================================
  

  

  
#   Section comments
  

  
#---------------------------------------------------------------------------------------
  
#   delete links, if demanded write logfile
  
#---------------------------------------------------------------------------------------
  

  
#   line end comments


页: [1]
查看完整版本: Shell编程风格模板