[vox-tech] using dd to convert ebcdic to ascii?

Richard Harke paleopenguin at gmail.com
Tue Mar 5 10:42:50 PST 2013


did you look at info dd?
conv=ascii


On Tue, Mar 5, 2013 at 9:41 AM, Brian Lavender <brian at brie.com> wrote:

> I have some files I am retrieving from a Mainframe. I am using dd to
> convert
> them to

   `ascii'

          Convert EBCDIC to ASCII, using the conversion table specified

          by POSIX.  This provides a 1:1 translation for all 256 bytes.


> So it sounds very reasonable

Richard


> ascii. Is this a good way to convert? The file "foo.txt" is in
> ebcdic.
>
> dd if=foo.txt of=foo_ascii.txt conv=ascii
>
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
>
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
>
> Professor C. A. R. Hoare
> The 1980 Turing award lecture
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20130305/a9cdd9a0/attachment.htm 


More information about the vox-tech mailing list