📜  块注释 bash - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:44.552000             🧑  作者: Mango

代码示例2
# Apparently block comments don't exist in shell scripts.
# With vi or vim you can comment many lines at a time with this syntax:
:start_row, end_row s/^/#/
# For example:
:10,100s/^/#/ # To comment lines 10 to 100

# To uncomment, use:
:10,100s/^#//