09-25-2008
commenting
can we use "---------" for commenting.........
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I m new for linux ... but now i will do this continuously. So my question is how to comment more then 1 line i dont wanna put # to each line.. my script is too big...
or u can tell me that how can i add # to sellected lines means if i wanna put # from line number 10 to 20 then how... (3 Replies)
Discussion started by: ajayyadavmca
3 Replies
2. UNIX for Dummies Questions & Answers
How to comment a set of lines in a script?
we use # to comment a single line , is there ant other cmd to comment a block? (2 Replies)
Discussion started by: rolex.mp
2 Replies
3. Shell Programming and Scripting
How can i comment multiple lines in unix ..............shell script. (6 Replies)
Discussion started by: dreams5617
6 Replies
4. Shell Programming and Scripting
HI all
I am working on a script, few details are as follows. I have one properties File and one script. The property file contains the JOBID which are to be executed and the Script runs these jobs ONE by ONE. After completing the JOB I need to comment that job in the property File. This is the... (3 Replies)
Discussion started by: Prashantckc
3 Replies
5. Shell Programming and Scripting
Hi ,
I have a XML file like this
<dependency>
<groupId>fr.xxxx.portail.ear</groupId>
<artifactId>_xxxEAR</artifactId>
<version>1.0.0-20xxxxx.xxxxx-x</version>
<type>ear</type>
</dependency>
I need to comment single/multiple lines from XML file.
How can i... (6 Replies)
Discussion started by: scorpio
6 Replies
6. Shell Programming and Scripting
Dear All,
I have many cron entries and want to comment a particular cron entry from a script.
Ex- Suppose I have the below cron entries:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
#Cron entries for Jboss server 1
0 23 * * * /usr/bin/echo
0 23 * * * /usr/bin/asdg_count.sh
0 23 *... (5 Replies)
Discussion started by: avishek007
5 Replies
7. Shell Programming and Scripting
Hi
can any body pls help me :
I have a file Which Content is like following:
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
ca:3:respawn:/opt/GoldWing/currentPM/local/critagt > /dev/msglog 2<>/dev/msglog
ca:3:respawn:/opt/GoldWing/currentPM/local/startcia.sh... (2 Replies)
Discussion started by: Aditya.Gurgaon
2 Replies
8. Shell Programming and Scripting
Hi,
I need to comment the below lines in a file using sed.These are the few lines of the jsp file that need to be commented.
if(top.location != location){
top.location.href = location.href;
}
Using the below command two lines can be commented:
if(top.location != location){
... (9 Replies)
Discussion started by: meetu
9 Replies
9. Shell Programming and Scripting
Hi All,
I am struggling to get my head around the following issue.
I am having to comment out lines between two delimiters by placing an asterix in position 7 but retain all lines in the file and in the same order.
so for example a file containing:
...
...
DELIM1
...
...
DELIM2... (2 Replies)
Discussion started by: Bruble
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Can anyone let me know how to comment multiple lines in VI editor?
Many thanks.
Regards,
Venkat. (3 Replies)
Discussion started by: venkatesht
3 Replies
LEARN ABOUT DEBIAN
devel::repl::plugin::nopaste
Devel::REPL::Plugin::Nopaste(3pm) User Contributed Perl Documentation Devel::REPL::Plugin::Nopaste(3pm)
NAME
Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and output
COMMANDS
This module provides these commands to your Devel::REPL shell:
#nopaste
The "#nopaste" sends a transcript of your session to a nopaste site.
#pastetitle
The "#pastetitle" command allows you to set the title of the paste on the nopaste site. For example:
"#pastetitle example of some code"
defaults to 'Devel::REPL session'
CONFIGURATION
nopaste_format
The format sent to the nopaste server can be adjusted with the "nopaste_format" option. By default, the output of each perl statement is
commented out, and the perl statements themselves are not. This can be reversed by setting the "nopaste_format" attribute to "comment_code"
like this in your re.pl file:
"$_REPL->nopaste_format( 'comment_code' );"
The default of commenting out the output would be set like this:
"$_REPL->nopaste_format( 'comment_output' );"
These options can be set during a Devel::REPL session, but only affect the future parts of the session, not the past parts.
AUTHOR
Shawn M Moore, "<sartak at gmail dot com>"
CONTRIBUTORS
Andrew Moore - "<amoore@cpan.org>"
perl v5.14.2 2010-05-08 Devel::REPL::Plugin::Nopaste(3pm)