Search Results

Search: Posts Made By: priyadarshini
6,474
Posted By priyadarshini
My aim to find the number of functions differ...
My aim to find the number of functions differ from 2 versions of a file.

First i tried to use diff command. this 'll list the functions with either + or -follwed by the function's name. This...
6,474
Posted By priyadarshini
extracting function headers in a c/c++ file using shell script
Hi,
Is there any way to extract function headers from c and c++ files using a shell script? I tried to do it by reading the C/C++ file line by line and if a line matches a particular pattern...
16,231
Posted By priyadarshini
Thanks to all of you, But, the file which i've,...
Thanks to all of you,
But, the file which i've, has more than one "#ifdef FLAG1 #endif" block. I've to get the total count from every block. Between these blockes there 'll be some lines. I should...
16,231
Posted By priyadarshini
Sample Input: #include <> ... #ifdef...
Sample Input:

#include <>
...
#ifdef FLAG1
#include <FLAG.h>
#ifdef OS
s=splnet()
#else
s=splx()
#endif
#else
s=splx(s)
#endif
#ifndef FLAG1
#include <>
splx(s)
#else
/* Some...
16,231
Posted By priyadarshini
Count lines between two patterns inside a file
Hi,
Im doing a script to find the number of lines included inside a file newly. These lines are in between #ifdef FLAG1 and #else or #endif or #else and #endif.
I tried like this,
awk '/#ifdef ...
4,823
Posted By priyadarshini
Many Thanaks,
Many Thanaks,
4,823
Posted By priyadarshini
Reading extension of files
Hi,
I need a command to read extension of files. Could anyone please help me?
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 04:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy