how to comment multiple lines in unix | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

how to comment multiple lines in unix

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-19-2007
balireddy_77 balireddy_77 is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 28 July 2009, 1:02 PM EDT
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Tools how to comment multiple lines in unix

hi all,
please help me how to comment multiple lines in unix script.

thanks in advance
--bali
Sponsored Links
    #2  
Old 02-19-2007
sumesh.abraham
Guest
 
Posts: n/a
Hi Bali,

Try out this.

Code:
: << --COMMENT BLOCK--
comments here
--END OF COMMENT BLOCK

Sponsored Links
    #3  
Old 02-19-2007
sumesh.abraham
Guest
 
Posts: n/a
Hi Bali,

Try this out.

: << --COMMENTS BLOCK--
comments here
--COMMENTS BLOCK--

Cheers,
Sumesh
    #4  
Old 02-19-2007
jambesh's Avatar
jambesh jambesh is offline
Registered User
 
Join Date: Aug 2006
Last Activity: 29 March 2012, 1:48 AM EDT
Location: California,USA
Posts: 153
Thanks: 0
Thanked 0 Times in 0 Posts
This is already replied by Vino & anbu in this forum please check this --
http://unix.com/showthread.php?t=337...hlight=comment
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can i comment out a section between two particular lines proactiveaditya Shell Programming and Scripting 3 02-15-2012 02:29 AM
Trying to show lines in INI files until the comment character (#) hindesite UNIX for Dummies Questions & Answers 4 09-21-2010 06:47 PM
using awk to comment out lines to the end of file phamp008 Shell Programming and Scripting 5 07-05-2009 10:02 PM
comment lines vero_81 UNIX for Dummies Questions & Answers 5 06-11-2009 04:35 AM
comment jobs in cron for multiple accounts shibajighosh AIX 3 04-08-2008 10:52 AM



All times are GMT -4. The time now is 12:45 PM.