I am brand new to hp unix systems. I see some files without extension on this system. If I type name of the file it shows me so many detail but does not take me back to command prompt. What are these files and how do I come back to command prompt? Please help (1 Reply)
Hi,
I need one line command to display all files that ends with .scr.
Example: In a directory I have 10 files, out of that 4 files have filetype extension .dat and 4 files with .scr and 2 files with .txt.... In this i want to display only files that ends with .scr.
I tried some commands,... (2 Replies)
Could someone please help?
I'm trying to compress all the files in a directory without extension. I know for typical files with extension, the command is something like:
tar -zcvf file.tar.gz *.doc
What is the command for files without extension? Thanks. (4 Replies)
Hi!
I have this shell script that I need to finish. Currently I need to fix one line to make it work. I need to change a file extension. See this code, is pretty simple.
#!/bin/sh
# Extensions
OLD_EXT=.flv
NEW_EXT=.mp4
COUNT_FILES=$(ls -l *$OLD_EXT | grep ^- | wc -l)
if ; then
... (8 Replies)
Hi,
I know that to list files with no extension, we can use..
ls -1 | grep -v "\."
And to list .prog files, we can use..
ls -1 *.prog
or
ls -1 | grep '.prog$' (4 Replies)
Hi there,
I have a small question (most like a true beginners question :) ).
In a script I have a filename stored in variable (vFile). Through the an input parameter this variable gets its value (for instance cookie.txt).
Two new variables are created with the value of vFile, but with a... (2 Replies)
Hi
I Have a directory and i have some files below
abc.txt
abc.gif
gtee.txt
ghod.pid
umni.log
unmi.tar
How can use glob function to grep abc files , i have created a variable "text" and i assigned value as "abc", please suggest me how can we use glob.glob( ) to get the output as below... (2 Replies)
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
I'm suppose to write a command that would list all files that end in .tx with an optional t at the end.
So far all I got is listing the files that end in .tx which is:
ls *.tx
Now my problem is how do I add the optional t at the end. (3 Replies)
Hello,
I'm on HP Unix and in a Job, I tried to extract all files from a folder, and replace the extension (.xxxx) by '*' , remove duplicates and move the result in a file..
Example :
Folder has : ABC, CCC.txt, CCC.sf, CCC.sfd, DDD
I need to generate and output file with :
... (6 Replies)
Discussion started by: royinfo.alain
6 Replies
LEARN ABOUT DEBIAN
cxref-cpp
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)