$ grep -e "Cyclomatic complexity" -e ";add;" inspect_64d_369980 | head -5
Thread.cpp;176;25;Error;;3;NPD.FUNC.MUST;Error;add;-73966069;Pointer 'handle.operator->()' returned from call to function 'operator->' at line 176 may be NULL and will be dereferenced at line 176.;;Existing;;Analyze;2254;https://insight-review.html#goto:project= 64_d,pid=2254
Bond.cxx;268;8;Error;;3;MLK.MIGHT;Error;add;-1408122275;Possible memory leak. Dynamic memory stored in 'bond' allocated through function 'new' at line 249 can be lost at line 268;;Existing;;Analyze;3998;https://insight-review.html#goto:project=64_d,pid=3998
DescHolder.hpp;168;41;Error;;3;NPD.FUNC.MUST;Error;add;-116936433;Pointer 'conn.operator->()' returned from call to function 'operator->' at line 168 may be NULL and will be dereferenced at line 168.;;Existing;;Analyze;13987;https://insight-review.html#goto:project=64_d,pid=13987
Command.java;62;22;Style;;8;JD.VNU;Warning;add;-934426595;Variable 'result' was never read after being assigned.;;Existing;;Analyze;16949;https://insight-review.html#goto:project=64_d,pid=16949FilterCommand.java;63;28;Style;;8;JD.VNU;Warning;add;104541;Variable 'irf' was never read after being assigned.;;Existing;;Analyze;16950;https://insight-review.html#goto:project=64_d,pid=16950
Hi, I'm new to LINUX Scripting, I would like to know the full explaination of the below scripts.
thank you.
1st script
#! /bin/sh
. /opt/home/hssadmin/cindy/formatxml.env
`testrecord.scp`
`testEXGU.scp`
2nd Script
#! /bin/sh
. /opt/home/hssadmin/cindy/formatxml.env
cd... (1 Reply)
Hi Experts
I am facing a weird issue while using print statement in awk. I have a text file with 3 fields shown below:
# cat f1
234,abc,1000
235,efg,2000
236,jih,3000
#
When I print the third column alone, I dont face any issue as shown below:
# awk '{print $3 }' FS=, f1
1000
2000... (5 Replies)
Hi all
I am relatively new to linux (specifically red hat). I have installed Fedora 13 on my machine and started playing with the terminal when i found a very strange behavior when typing a command that is not found:
the terminal does not prompt me back. In other words, i am logged as root (or... (4 Replies)
Centos 5.8
Lets say I have 2 nfs shares mounted to /folder1 and /folder2.
If I do a find / -name *something*
Will it also search the 2 nfs shares ?
If so is there a way to avoid this?
Thanks (2 Replies)
Hello Team,
Could you pls explain how export command works in below code:
for i in ${!SDV_*}; do
export $i
done
As per my understanding, if
SDV_1=test1;SDV_2=test2;test1=var1;test2=var2then in for loop below export will get executed.
export var1;export var2But, Will this... (3 Replies)
Hi
I run the below command to find and delete *.xml files 90 or more days old.
find . -type f -name '*.xml' -mtime +90 -exec rm {} \;
find: stat() error ./Hello/2014_EMPTY.xml: No such file or directory
./Hello/2014_EMPTY_8011.xml: No such file or directory
.....
....
If the file... (10 Replies)
Linux Release
Uname details
Data file
Ive been at the command line for some time. Back as far as SCO and Interactive Unix. I have always used this construct without issues. I want to isolate the ip / field 1. As you can see .. the first line is "skipped".
This works as... (6 Replies)
I am getting some strange behaviour from the kill command. When I run the which command it says it points to /usr/bin/kill. When I look at my PATH I have /usr/bin in it. So why does running kill or /usr/bin/kill produce different outputs?
ghost ~
$ which kill
/usr/bin/kill
ghost ~
$ kill... (5 Replies)