Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!usc!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: EBCDIC Editor/viewer for unix. Summary: dd(1) can convert text with conv=ascii Message-ID: <13073@bloom-beacon.MIT.EDU> Date: 28 Jul 89 03:24:54 GMT References: <20394@adm.BRL.MIL> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 15 You can run the binary through dd with the option "conv=ascii" to get it to convert all of the text in the file from EBCDIC to ASCII. I don't know what it will do with the binary portions of the file, but I also don't know if that's important (if the machine you're doing this on can't read the EBCDIC and deal with it, it probably can't run the program either, so it probably doesn't matter :-). Just typing "dd conv=ascii infile outfile" will convert the EBCDIC text in infile to ASCII text in outfile. Jonathan Kamens USnail: MIT Project Athena 432 S. Rose Blvd. jik@Athena.MIT.EDU Akron, OH 44320 Office: 617-253-4261 Home: 216-869-6432