10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies
2. UNIX for Dummies Questions & Answers
I am curious why the below returns 4 instead of 3
wc -c <<<aaa
Whereasa=aaa;echo ${#a} returns 3.
How to get 3 using here -string operator in the above scenario
Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies
3. UNIX for Dummies Questions & Answers
Howdy,
I need a command which will find all of the characters in a line before the first .
I am using Korn
Thank you (3 Replies)
Discussion started by: jgrosecl
3 Replies
4. Shell Programming and Scripting
Hi Experts,
Please let me know, how to generate control characters in a file.
I want to test my script which will check for any control characters in a file before loading the data into the PRD Database.
Thanks in Advance,
Sapy. (2 Replies)
Discussion started by: saps19
2 Replies
5. Shell Programming and Scripting
I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :(
I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
Discussion started by: unclecameron
4 Replies
6. UNIX for Dummies Questions & Answers
First of all hello, this is my first post here. :)
I have a problem with displaying the euro sign and two other characters from the ISO8859-7 greek set (the drachma sign and the ipogegrameni) in the UNIX platform. Either when I type them normally or if i try to read a text file with some of... (2 Replies)
Discussion started by: pavlos87
2 Replies
7. UNIX for Dummies Questions & Answers
Hello, my name is Marc, I'm a linux starter :) and I hope you specialists can help me solving this issue.
I have a file containing a lot of data. Somewhere in this file, there's a string called "Faultdump", directly followed by 64 chars of HEX data. I need to get the HEX part. I accomplished... (12 Replies)
Discussion started by: Kally
12 Replies
8. Shell Programming and Scripting
hi
i wanted to cut last 4 chars from a text file
Input
A-B-C-V-15-0115
A-BL-CLE-T-VALUE-0125
M-T-L-G-0115
AT-PR-PE-CCT-0135
Output
0115
0125
0115
0135
I tried cut -f - -d "-" (thinking cut -f 5- -d"-" gives 5 ot end of line so only - should give last but floped) (5 Replies)
Discussion started by: pbsrinivas
5 Replies
9. Shell Programming and Scripting
Hi,
I need some advise on treating non printable chars over ascii value 126
Case 1 :
On some fields in the text , I need to retiain then 'as-is' and load to a database.I understand it also depends on database codepage.
but i just wanna know how do i ensure it do not change while loading... (1 Reply)
Discussion started by: braindrain
1 Replies
10. Shell Programming and Scripting
:rolleyes: Hi,
I want to replace the particular text in the middle of the line.
Ex. In the line 40-50 wanted to replace the char as 'x' (7 Replies)
Discussion started by: Jairaj
7 Replies
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)