⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commentblock.sh

📁 一本完整的描述Unix Shell 编程的工具书的所有范例
💻 SH
字号:
#!/bin/bash# commentblock.sh: <<COMMENTBLOCKecho "This line will not echo."This is a comment line missing the "#" prefix.This is another comment line missing the "#" prefix.&*@!!++=The above line will cause no error message,because the Bash interpreter will ignore it.COMMENTBLOCKecho "Exit value of above \"COMMENTBLOCK\" is $?."   # 0# No error shown.#  The above technique also comes in useful for commenting out#+ a block of working code for debugging purposes.#  This saves having to put a "#" at the beginning of each line,#+ then having to go back and delete each "#" later.: <<DEBUGXXXfor file in *do cat "$file"doneDEBUGXXXexit 0

⌨️ 快捷键说明

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