Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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

'''
Comment

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/^#//
Comment

PREVIOUS NEXT
Code Example
Shell :: how to kill a process in powershell 
Shell :: install spicetify on windows 
Shell :: enable null safety flutter using cmd 
Shell :: github add image in readme 
Shell :: enable rdp windows 10 powershell 
Shell :: intel driver arch linux 
Shell :: Check for process and kill if running Linux 
Shell :: git diff file names 
Shell :: install extension pgcrypto 
Shell :: install flutter on linux 
Shell :: Accessors are only available when targeting ECMAScript 5 and higher. 
Shell :: ls all files including hidden powershell 
Shell :: bash bc 
Shell :: config vscode terminal to bash default 
Shell :: update to 21.04 from 20.04 
Shell :: yarn check package version 
Shell :: how to get ips of any website 
Shell :: mvn versions set 
Shell :: ssh copy file from local to remote 
Shell :: error commit is a merge but "no -m" option 
Shell :: check packages in macos 
Shell :: bash for loop string array 
Shell :: git discard staged changes 
Shell :: cudnn version linux 
Shell :: google translate for linux 
Shell :: git restore all 
Shell :: gitlab remove branch 
Shell :: ssh agent remember passphrase 
Shell :: ubuntu set environment variable permanently 
Shell :: git change git commit date 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =