Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash script block comments

# 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/^#//
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #script #block #comments
ADD COMMENT
Topic
Name
2+7 =