01-26-2010
convert file to ascii
I have a file in below format(ISO ) and to be convert to readable (.txt/Ascii) format .send me the commands/code please
sample as follows
2043010101167157001190002010011120000000002144300000000000000000000 01022_ - %rE@
U...ug 47 56 d %rE@ 01022_ - $5
fy 1%14 6 %
$5 01022_ - %g-
jv 5&5. 6 " %g- 01022_ - %h8`
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Here is what I did . . . . I FTP'd several *.pdf files from a web site to a UNIX server, and did not set the transfer mode to BIN, now Adobe thinks that the documents are corrupted. Is there a way to convert the *.pdf files to Binary so that Adobe can open them again. I would just re-download... (2 Replies)
Discussion started by: pc9456
2 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like ..ݡ.ݡ ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
3. Shell Programming and Scripting
file abc
abc: English text
I want to convert the above into
file abc
file: ascii text (1 Reply)
Discussion started by: laknar
1 Replies
4. Shell Programming and Scripting
How to convert ebcdic file to ascii file? (1 Reply)
Discussion started by: superuser123
1 Replies
5. UNIX for Dummies Questions & Answers
How to convert ebcdic file to ascii file? (1 Reply)
Discussion started by: superuser123
1 Replies
6. Shell Programming and Scripting
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies
7. Red Hat
Hello all,
To give you all a little bit of background. We recently migrated from HP-UX to Redhat Linux and one of the command I used to run on HP-UX to convert an EBCDIC file to ASCII file isn't working on Linux. The code is as follow:
cat workout2.dat | dd cbs=250 conv=block conv=ascii... (3 Replies)
Discussion started by: sethmj
3 Replies
8. Shell Programming and Scripting
I am trying to develop a script which will work on a source UTF-8 file and perform one or more of the following
It will accept the target encoding as an argument e.g. US-ASCII or ISO-8859-1, etc
1. It should replace all occurrences of characters outside target character set by " " (space) or... (3 Replies)
Discussion started by: hemkiran.s
3 Replies
9. Shell Programming and Scripting
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I am having 100 EBCDIC files (i.e. DAT extension) and need to convert them into ASCII File by unix shell script.
I tried with DD Command but its not providing output as expected.
Sample Text:
------------------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Expected Output:... (2 Replies)
Discussion started by: JSM
2 Replies
aecat(1) General Commands Manual aecat(1)
NAME
aecat - display an aewan document
SYNOPSIS
aecat [-b] [-c] [-{n|N}] [{-p | -l <layer_num>}] [-f <format>] [-o <output_file>] inputfile
DESCRIPTION
This is an utility program that will convert an aewan document to ANSI escape sequences so that it can be rendered on a standard terminal.
Alternatively, it can also generate HTML code for displaying the document in a web page. Any particular layer of the document may be con-
verted, or you may request a composite of all layers.
OPTIONS
-f specifies output format - can "text", "html" or "comment". Default is "text". The "comment" format extracts document metadata.
-c prepend a 'clear screen' escape sequence (only valid when outputting text).
-o<file>
writes output to specified file rather than stdout
-b disables output of color (only characters will be printed).
-l<layer_no>
specifies which layer of the document is to be used (must be an index, not a layer name). By default, layer 0 will be used.
-L displays the number of layers in the file.
-p exports a composite, that is, overlays all visible layers, paying attention to layer transparency, etc. The size of the composite
will be the size of the first layer
-n suppress output of newlines
-h prints a short help text
AUTHORS
This program is part of the Aewan Ascii Art Editor package. See aewan(1) for author information.
LICENSE
Copyright (c) 2004-2005 Bruno Takahashi C. de Oliveira. All rights reserved.
This program is licensed under the GNU General Public License, version 2 or, at your option, any later version. For full license informa-
tion, please refer to the COPYING file that accompanies the program.
SEE ALSO
aewan(1), aewan(5), aemakeflic(1)
aecat (Aewan Ascii Art Editor) March 2005 aecat(1)