In the above cpp class
pvvd_inst is called by function rvvd_inst_for_tabl which is in turn called by function
rvvd_call_tabl..
I am developing a script which reads a cpp class .. Finds the pvvd_inst function
and backtraces it ...
eg : pvvd_inst <<<<<------ rvvd_inst_for_tab <<<<<------rvvd_call_tabl ..
I have tried it in following way :
I am reading cpp files from a file and grepping for a paatern
Please Help .....
thanks and Regards
--- Ultimatix
Last edited by Franklin52; 03-14-2009 at 04:06 PM..
Reason: adding code tags
Code tags for code, please, otherwise the forum will strip all the spacing from it and make it unreadable. [ code ] stuff [ /code ] without the extra spaces in the tags.
Since nearly all whitespace in C is interchangable, I might try rearranging it to remake the lines more to my pleasing:
Rip out all preprocessor lines: egrep -v '^#|\\$' This does not do a perfect job, involving the C++ preprocessor would do better but would be more complex.
Replace all linefeeds with spaces: tr '\n' ' '
Replace "}" with "}\n" and "{" with "\n{": sed 's/}/}\n/g;s/{/\n{/g'
So:
Perhaps you'd find that output easier to find what you wanted in.
Since this is maxxing out my CPU, is there anything I can add that will make sure stress always ends?
echo "CPU Stress Test" >> CPU_Stress_Test.txt
echo "stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 1m" >> CPU_Stress_Test.txt
echo >> CPU_Stress_Test.txt
date +"%Y-%m-%d-%H-%M" >>... (9 Replies)
Hi
I have a file called tmp with the content as belowmore tmp
NAMELIST(Hari)
NAMELIST(Raju)
I want to get the values between the brackets.
When I executed the below command on zlinux I get the output which I wantedmore tmp |awk -F'' '{print $2}'
But when I execute the same in... (3 Replies)
Hi friends,
I was wondering if UNIX programs really care about file extensions like Microsoft Windows applications do. Because I think an extension doesn't really change the nature of a file, or does it? But when I try to compile the c source code file named "hello", gcc gives me error, saying... (1 Reply)
Is there a way to bring the terminal script to the front? I am running this script through OMCEdit which is then running it through Terminal. I have some dialog boxes (using osascript) and the dialog boxes are not coming to the front...Terminal bounces and I have to click on Terminal to see the... (1 Reply)
help
I am having text file like this...
------------------------END OF UPDATION ------------------
xxxxxxxxxxxxxxxxxxxxxxxxx
yyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyy
1 row updated
------------------------END OF UPDATION ------------------
TTTTTTTTTTTTTTTT
FFFFFFFFFFFFFFFFF
... (3 Replies)
I have a PC that was built in Europe pre-installed with Windows 2000.
The HDD is 40GB, but, its split up as two 20GB (Taken up by Windows). I want to take over my Mandrake 9.1 CDs and install Linux on that machine.
My question is, how would I proceed to install Linux this way???
Now, If... (1 Reply)