Answers for "block comments bash"

1

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/^#//
Posted by: Guest on April-28-2021
0

block comment bash

# Bash doesn't have block comments like Python
# HOWEVER!
# Similarly like Python, there is a way to bypass this limitation
# Try using this workaround in your files

variableName='''

block comment goes here

'''
Posted by: Guest on January-07-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language