cxref-query(1) General Commands Manual cxref-query(1)NAME
cxref-query - A program to query the cross reference database from cxref.
SYNOPSIS
cxref-query [name [ ... name]] [-Odirname] [-Nbasename] [-xref[-all][-file][-func][-var][-type]]
DESCRIPTION
A very simple program to query the cross-reference database that is created by the cxref program. This is intended to be an example of the
information that is in the database and how to use it rather than a fully featured tool.
OPTIONS
name Names of objects to query. The names that it looks up are the names of: Files, Variables, Functions, Typedefs
If there are no names on the command line then the program enters interactive mode and prompts for names until an end of file (^D)
is seen.
-Odirname
Use dirname as the input directory
-Nbasename
Use basename.* as the input filenames
-xref Produce cross referencing information (see below).
-all All cross references.
-file Cross references for files.
-func Cross references for functions.
-var Cross references for variables.
-type Cross references for types.
The output depends on the -xref options but basically gives what is seen in the section of the document for the named object.
SEE ALSO cxref(1)BUGS
If you wish to submit bug reports or other comments about the program then email the author amb@gedanken.demon.co.uk and put cxref in the
subject line.
AUTHOR
The cxref-query program is copyright Andrew M. Bishop 1995,96,97.
July 5, 1997 cxref-query(1)
Check Out this Related Man Page
cxref-cpp(1) General Commands Manual cxref-cpp(1)NAME
cxref-cpp - A modified C preprocessor to use with cxref.
SYNOPSIS
cxref-cpp ...
DESCRIPTION
To improve the output that is available for the source code for cross-referencing a modified version of the GNU CPP v2.7.2 is supplied
(named cxref-cpp).
This modified C preprocessor allows for a finer control over some features of the preprocessing that are not important for a compiler. In
a standard preprocessor, the preprocessor directives are intended for use only by the preprocessor, so passing the information through is
not important.
With cxref-cpp, there are some features that are different to the standard GNU CPP:
Compared to gcc versions earlier than version 2.8.0 there is an extra option that will output the #include lines from the source
file. In version 2.8.0 and later this option is present.
Comments trailing a #include or a #define are not preserved by all versions of gcc even if the -C option is used. This is not
important while compiling, but is useful for documenting.
The cxref-cpp program will take on the personality of the installed version of gcc so that the gcc header files can be parsed. This
means that it includes the same default include directory paths and macro definitions. The file that contains these definitions is
called cxref-cpp.defines and is installed by the cxref-cpp-configure program or specified by the -cxref-cpp-defines command line
option.
OPTIONS
The same as for gcc, apart from '-cxref-cpp-defines' described above.
SEE ALSO cxref(1), cxref-cpp-configure(1), gcc(1)
May 9, 2004 cxref-cpp(1)
Hi,
I know very little about C and Unix. I have written a program to use threads. The program needs to get some values from a very large database.
I wrote a simple program and compiled but got the following errors.....
cc mythread.c -lthread
"/usr/include/pthread.h", line 120:... (3 Replies)
Discussion started by: reddyb
3 Replies
2. Post Here to Contact Site Administrators and Moderators
In regards to this post:
https://www.unix.com/showthread.php?s=&threadid=10372
it may be advisable to inform new members about the repercussions of cross-posting. (9 Replies)
Hi all,
I have a problem in handling files through C.
here is the problem im having:
i will query the database (for instance consider employees table )
for empno,ename,job,salary fields.The query returns me some 100 of rows. now i need to place them in a file in row wise pattern as they... (3 Replies)
Hello Guys,
I'm new to Shell scripting, and i need someone to help me with this issue:
I'm trying to do a dynamic update query on Sysbase database table using shell script.
Lets say, the Update query is "update Table set id=X" , where X is dynamic value for the loop index.
If the loop is... (10 Replies)
Hi All-
First time using iSql.
I have 4 query files - some have more than 1 line of sql statements
After a bit of research it appears I can just use the -i command and specify the input file.
Questions:
Does it matter that there are multiple queries in each file? Do I need to have... (3 Replies)
This is basically what I want to do:
I have a file that contains single lines of IDs.
I want to query the oracle database using these IDs
to get a count of which ones match a certain condition.
the basic idea is:
cat myfile |
while read id
do
$id in select count(PC.ptcpnt_id)
from... (4 Replies)
I have a sed query.
There is a line which has tilde and I want to separate this line using sed.
The line is:
ABP_ETC_ROOT=~xdmadm
The query to get this line is:
sed -n '/\(.*\)~\(.*\)/p' infile
I want to get xdmadm from this line and I am using this sed command:
sed -n... (5 Replies)
Hi all,
In my concern they gave a task to me do cran job like
To write a shell script for
To connect a database
it should execute a query
it should save the output of the query
after getting the output it should send a mail to you inbox for every one hour
I can able to... (8 Replies)
Dear Forum Members,
The UNIX and Linux Forums are working directly with the Red Cross to provide ad banners on our site to support Earthquake and Tsunami Relief in Japan. Registered users do not see these banners. However, if you wish to contribute directly on behalf of yourself and the... (8 Replies)
Hi,
Here I am trying to query database and check a value, if the value not matches then I wants to re-query the database.Once the value matches, I want to email the reqidstatus_log.txt file. Database query produces a file reqidstatus_log.txt which contains result.
But the query not working as... (3 Replies)
I'm looking for a way to neaten up the out put of an ldapquery. I might get one, none, or several returns for each query; and each query consists of multiple lines. And while each return will contain the same types of info, it might be in a different order, like:
uniq: 1
ip: 192.168.2.3... (3 Replies)
Hi All,
I am trying to cross compile udev-151 for MIPS little endian architecture.
I am configuring like this:
./configure --prefix=$PWD/sree --host=mips-linux-gnu
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then... (3 Replies)
I've about 10 names say (John, Joseph, James, Peter, Allen, Diane, Patricia, Wendy, Marsha, Janice).
I want to create a crossword with these names. Rules are similar to a cross word puzzle, just that there is no puzzle. It's just a matrix with these names listed from "top to down" or "down to... (5 Replies)
Dear Masters,
I have file input
20140901|Cross Nation|Asia
20140908|Cross Region|Europe
20140905|Cross Nation|Europe
I want to replace column 1 with the last date update, so my output should be like
20140908|Cross Nation|Asia
20140908|Cross Region|Europe
20140908|Cross Nation|Europe
... (7 Replies)
Hello Friends,
I am using check_mysql_query plugin in nagios to query database and get output. query is working fine but output which i am getting contain query. I want to remove query from output and give custom message which will be simple and understandable.
Can you help me here with any... (5 Replies)