Tagged Questions
2
votes
2answers
105 views
How can I identify non-ASCII characters from the shell?
Is there a simple way to print all non-ASCII characters and the line numbers on which they occur in a file using a command line utility such as grep, awk, perl, etc?
I want to change the encoding of ...
0
votes
1answer
297 views
Changing binary file to readable text file
I have a program that creates a file that stores text like this:
application/octet-stream; charset=binary
now i need to convert this file to this:
text/plain; charset=us-ascii
i know this is ...
0
votes
2answers
148 views
Use full ascii table to file name in linux
In the Windows operating system I can use unusual characters in the file name by typing the decimal code of the character in the number pad. This way I can access all of the characters in the ...
2
votes
3answers
186 views
In linux how do I to get ' quote ` back-tic through the shell into sed.
In linux how do I to get the ascii decimal/hex/oct code from a char or a ascii char from a decimal/hex/oct code.
I see from the gnu sed user manual that I can use the \d# \o# \x#
to specify a ...
1
vote
3answers
3k views
Tool to convert a file of HEX to ASCII character set?
Question:
Is there a known tool to convert a file consisting of 2 byte Hex into ascii?
Note: - Maintain file offset listing in bytes
Example:
File contents:
00000000 0054 0065 0073 0074 0020 ...
0
votes
1answer
430 views
Unconvert Text File from Binary Format
I've got a rather large CSV file (~700MB) which I know to consist of lines of 27-character alpha-numeric hashes; no commas or anything fancy. Somehow, during its migration from Windows to Linux (via ...
2
votes
2answers
714 views
ascii mode ftp between two linux boxes does undesired CRLF translation
Using the FTP command I transferred an xml file from a Red Hat Enterprise Linux box which happens to be in Europe to another RHEL box in the United States. I didn't specify a transfer mode so it ...
1
vote
3answers
412 views
How do I make 'man ascii' work on Fedora 11
Upgrading from Fedora 9 with a full reinstall off the non-developers CD image,
then installing various packages. man ascii doesn't work -- what do I need
to install to get this to work?