Home > HOWTOs > Commenting in Shell Script

Commenting in Shell Script

Commenting Shell Script

#!/bin/bash
echo "PreProcessing"
<<COMMENT_HERE
whatever will go here
and here ..
COMMENT_HERE
echo "Further Processing"

--------- OR ---------

if false
then
Everything else here for Testing!!!
fi

EDITED: Got more information here http://stackoverflow.com/questions/1444367/commenting-out-a-set-of-lines-in-a-shell-script

Advertisements
Categories: HOWTOs
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: