license.sh

来自「A Library of Efficient Data Types and Al」· Shell 代码 · 共 36 行

SH
36
字号
#!/bin/sh rm -f .licensecat license.txtprintf "Do you wish to continue ? "answer=nonewhile [ $answer = none ]; do  read a  if [ "$a" = "yes" -o "$a" = "Yes" ]; then     answer=yes  fi  if [ "$a" = "no"  -o "$a" = "No"  ]; then     answer=no  fi  if [ $answer = none ]; then    printf "\nPlease type yes or no : "  fidoneif [ $answer = no ]; then   echo " "   echo "Installation stopped."   echo " "else   echo " "   echo "Installation continues ..."   echo " "   touch .licensefi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?