Automatically create script definition content and implement version control
#!/ bin/bash
export LANG=zh_CN.UTF-8
author: zhizhimao filename: vishversion: v.0.0date: 2020-01-30 13:14:00option: -d description-v specify version describe: create script add author, filename, version, date, description content, check syntax is correct, and implement version control automatically add version number. Open non-custom script files after backup;
Version=v.0.0
Date=$(date "+%F %T")
create_sh(){
create a script file
cat > $File