Hi
I have a script to delete the multiline comments as below
********************************************
#!/usr/bin/sed -f
#Replaces single line comment
s://.*::
#Replaces multiline comment present in a single line
s:/\**\*/::g
#Starting of the loop for checking the starting of the... (1 Reply)
Hi,
I wish to format the output of a grep command in such a way that sed will be able to handle the newline characters held in the output.
Since sed does not allow newlines to be contained in a replacement pattern, that means adding a backslash '\' character to the end of each line from... (8 Replies)
Requirement is:
1. comment and uncomment the line with Shell
Script: /opt/admin/fastpg/bin/fastpg.exe -c -=NET (using fastpg.exe as a search option)
2. display = "Commented" (when its commented) and display = "Uncommented" (when its uncommented)
Its urgent, please let me asap!!!
Thanks in... (2 Replies)
Hi friends , I want to ignore single and multiline comment( enclosed by " \* *\" ) of a file whle reading it. I am using the below code.
nawk '/\/\*/{f=1} /\*\//{f=0;next} !f' proc.txt | while read str
do
...
done
The problem is its working partially. that is its failing in one... (1 Reply)
Hi all
I have data files which contain data as shown below:
Line 5: FIDE
INST_DESC: DIAM Co Ltd/Japan => MAID Co Ltd/Japan
INST_NME: DIAM Co Ltd/Japan => MAID Co Ltd/Japan
Line 6: FIDE
INST_DESC: DIAM DL/Pimco US Bond Open Born in the USA => MAID DL/Pimco US Bond Open Born in the... (6 Replies)
cd path
line1
line2
line3
line4
line5
Lets say thats the sample script...So say if i have to comment the above script, which would be the better way so that whenever i want, i cud comment or uncomment the same.
Thanks (1 Reply)
Hi,
I have a text like the one given below
status="Observation 1"
read1="Source rows not load"
read2="Score drop"
I want to create a csv and mail it out in such a way that all three lines will be in a single cell but as three lines.
For ex
Col C1
... (3 Replies)
Just began to learn on Shell Script. I got an exercise from my friend. I know how to make this happen in C, but I'm not familiar with Shell Script. Hope I can get some help from all of you.
I want to write a bash script to comment code blocks in a bash source file. What I mean comment is '#', I... (1 Reply)
Hello,
I want to parse the contents of a multiline html tag
ex:
<html>
<body>
<p>some other text</p>
<div>
<p class="margin-bottom-0">
text1
<br>
text2
<br>
<br>
text3
</p>
</div>
</body> (15 Replies)
Discussion started by: SorcRR
15 Replies
LEARN ABOUT CENTOS
trace-cmd-check-events
TRACE-CMD-CHECK_EV(1)TRACE-CMD-CHECK_EV(1)NAME
trace-cmd-check-events - parse the event formats on local system
SYNOPSIS
trace-cmd check-events [OPTIONS]
DESCRIPTION
The trace-cmd(1) check-events parses format strings for all the events on the local system. It returns whether all the format strings can
be parsed correctly. It will load plugins unless specified otherwise.
This is useful to check for any trace event format strings which may contain some internal kernel function references which cannot be
decoded outside of the kernel. This may mean that either the unparsed format strings of the trace events need to be changed or that a
plugin needs to be created to parse them.
OPTIONS -N - Don't load plugins
SEE ALSO trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1), trace-cmd-split(1),
trace-cmd-list(1), trace-cmd-listen(1), trace-cmd-start(1)AUTHOR
Written by Vaibhav Nagarnaik, <vnagarnaik@google.com[1]>
RESOURCES
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
COPYING
Copyright (C) 2011 Google, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).
NOTES
1. vnagarnaik@google.com
mailto:vnagarnaik@google.com
06/11/2014 TRACE-CMD-CHECK_EV(1)