10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I currently have flat file with 32 columns. The field delimiter is cntl-A ( \x01). The file has been extracted from an oracle table using a datastage job. However, in the 6th field, the data contains additional control -A characters which came as a part of the table data.
I need... (12 Replies)
Discussion started by: harsha1238
12 Replies
2. Red Hat
Hi Guys,
We receive some huge files on to Linux server. Source system use FTP mechanism to transfer these files on our server. Occasionally one record is getting corrupted while transfer, some control characters are injecting into the file. How to fix this issue ? please advice ?
Sample... (2 Replies)
Discussion started by: srikanth38
2 Replies
3. Shell Programming and Scripting
Hello,
How can I view control and special characters of a text file?. For example, space, tabs, new line chars etc.
Can I use hexdump for it?
Thanks (3 Replies)
Discussion started by: reddyr
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
My files are showing some control characters in vi editor
^M
^@ and somtimes
^H
I removed ^M with %s/^M//g command
but how to represent ^@ and ^H
e.g. for ^M it is hold ctrl then v and m..
Please help..
I am very new to unix.. (7 Replies)
Discussion started by: prabhat.diwaker
7 Replies
5. Shell Programming and Scripting
Hi,
Please excuse for posting new thread on control characters,
I am facing some difficulties in removing the control character from a file extracted from top command,
i am able to see control characters using more command and in vi mode, through cat control characters are not visible ... (8 Replies)
Discussion started by: karthikram
8 Replies
6. UNIX for Dummies Questions & Answers
Hello sir,
I have generated XML file from VS 2005. It works well in windows but it shows some junk characters in unix.
Can any help me with this problem.
Thank you in advance.
Hema (6 Replies)
Discussion started by: hemavenkatesh
6 Replies
7. UNIX for Advanced & Expert Users
The below code is not able to converting the Hexa decimal characters into Ascii characers in Unix.
byte bytes = newbyte;
for(int i=0;i<bytes.length;i++){
bytes = (byte)Integer.parseInt(hex.substring(2*i, 2*i+2),16);
}
String multi = new String(bytes);
System.out.println(" multi value from... (0 Replies)
Discussion started by: srinivaspeyyala
0 Replies
8. Shell Programming and Scripting
Can anyone seem to know how to find out whether a UNIX text file has 'hidden' control characters?
Can I view them using 'vi' by some command line options?
If there are control characters in a text file which are invisible/hidden.. then how do I get rid of them?
Your intelletual answers are... (6 Replies)
Discussion started by: kewl_guy
6 Replies
9. UNIX for Dummies Questions & Answers
We have a unix file that contains special characters (ie. Ñ, °, É, ¿ , £ , ø ). When I try to read this file I get a codepage error and the characters are replaced by the # symbol. How do I keep the special characters from being read?
Thanks.
Ryan (3 Replies)
Discussion started by: Ryan2786
3 Replies
10. Programming
What is the best method to identify an remove control characters in a file. Would it be easier to do this in Unix or in C. (0 Replies)
Discussion started by: oracle8
0 Replies