Hello,
I have multiple text files and I need to know which of them are having character issues.
Below command is not working. Maybe instead of that weird string, I should replace it with ascii code.
That - or similar - character is a placeholder for any non-printing character. Where and how did you find it? What are "character issues"? Also, multi-byte chars could be represented. Pls post a hexdump of your data file.
This will work on linux systems:
the -P uses PCRE , the perl regex library, shows the line number (-n) and highlights the problem(s) (--color) It finds characters greater than 127 and so will not work on UTF8 for example
It always helps to include your OS and shell, this will not work HP-UX for example, and because your used -A I guessed.
Edit: Rudi beat me to it.
This User Gave Thanks to jim mcnamara For This Post:
Not quite sure I understand what failed. grep's option -H gives filenames of all pattern occurrences, -l prints any matching filename just once, which would satisfy you request: identify all files containing non-ASCII characters.
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
Hi,
I would like to extract a pattern from a line. The first two characters will always be the same in this pattern, but the proceeding numbers will not be, and the pattern will always be 6 characters long. I would like to get the entire pattern up to a certain symbol, in this case, a period.
... (3 Replies)
I want to know script for
Input file : 123456789
outputfile :
1
2
3
4
5
6
7
8
9
now please how can generalize it
like i want output : 123
456
789 (5 Replies)
Hello I am new to this forum and have been perplexed by this issue for the last hour of my life, I've tried to search everywhere for a solution to my syntax error, but here is my code.
grep -wvnf 'noise.dat' sample.out | sort
output:
4:Java Swing
5:Swing Java
6:Software Requirements... (2 Replies)
Hi guys,
Im new to unix; I have a problem at hand.
Somehow at the terminal, I lost the command prompt, instead I get a ">" symbol. Anything I type in does me no good. What do you recommend?
Thank you for your help. (3 Replies)
How to generate the symbol file for
"C" program which will help me in
analysing the core dump.
Can any one suggest me the tools to use.
I don't whether the gcc has the option
to generate symbol file while generating
the object code. (1 Reply)
I have this problem:
# make
gcc -g -D_REENTRANT -DDISABLE_MJPEG=1 -I. -o encmain.o -c encmain.cc
ld: 0711-317 ERROR: Undefined symbol: std::string::_Rep::_S_max_size
collect2: ld returned 8 exit status
but
from /usr/local/include/g++v3/bits/basic_string.h :
namespace... (0 Replies)