10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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
2. Shell Programming and Scripting
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)
Discussion started by: prasperl
3 Replies
3. Shell Programming and Scripting
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)
Discussion started by: neelmani
1 Replies
4. Shell Programming and Scripting
Hi,
I am writing a shell script, which should comment a if-fi loop in a file.
From google i found that, we can use below qualifier to comment a section of code,
:<<COMMENT
COMMENT
But i could not place these keywords before and after if-fi loop.
Any help would be appreciated.
Finally the... (2 Replies)
Discussion started by: successlin
2 Replies
5. UNIX for Dummies Questions & Answers
Is thery any way to give comment to multiple line without explicitly specifying # at the begining of each line ? (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies
6. Shell Programming and Scripting
In a LaTeX manuscript, I need to replace many occurrences of
\emph{some string}
with some string, i.e. whatever string is inside. The string inside often may extend over several lines, and there may be other occurences of curly brackets inside it. So for example
\emph{this \it{is} a... (5 Replies)
Discussion started by: sune
5 Replies
7. Shell Programming and Scripting
Hi guys i m trying to delete some files from one of the share which is mounted on my machine.
but whenever i do that it says access denied.
I m logged in as a root for my machine.
below is the output for those two file.
mount command for mounting the shares.
mount... (1 Reply)
Discussion started by: pinga123
1 Replies
8. Shell Programming and Scripting
Hi guys, hope you scripting gurus here can help me out, the logic in my script somehow not working the way it should, this script part of a bigger backup script suppose to do some checking on the cluster prior to bringing up the package on MC/SG after backend cloning operation, this portion is... (3 Replies)
Discussion started by: sparcguy
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I wanted to check whether any files are available under the path /usr/app/logs/. If the files are available under this path then i have to delete all the files except the files system.log, system.log.1, system.log.2 and sub folders under this path
Can any one please help me on this?
... (2 Replies)
Discussion started by: Sheethal
2 Replies
10. Shell Programming and Scripting
how to put multiline comments in a shell script like /* Some code */ in C language? (3 Replies)
Discussion started by: skyineyes
3 Replies