Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!ubc-vision!alberta!obed!stephen From: stephen@obed.UUCP Newsgroups: comp.sources.wanted Subject: Re: EBCDIC to ASCII in C for MS-DOS (Wanted) Message-ID: <281@pembina.UUCP> Date: Mon, 9-Nov-87 18:56:22 EST Article-I.D.: pembina.281 Posted: Mon Nov 9 18:56:22 1987 Date-Received: Thu, 12-Nov-87 06:48:03 EST References: <293@mrevox.UUCP> Organization: U. of Alberta: Biochemistry , Edmonton, AB Lines: 62 Summary: EBCDIC to ASCII translator In article <293@mrevox.UUCP>, gregg@mrevox.UUCP (Victor Gregg) writes: > assume that a IBM-MVS user transfers an EBCDIC file > to a PC, and gives the floppy to YOU. > Your mission, should you decide to accept it, is > ----- > Victor S. Gregg _ _ _ _ _ _ > Bell Communication Research, Inc. | | | | | | / \ | \ | under unix: dd conv=ascii < thatfile >output Under MESS-DOS: # move to a unix system, cut at the dotted line and stuff thru /bin/sh # then compile and run under IT. # ----------------- CUT HERE ----------------- # # file ab.c sed -e 's/^\ ab.c 0){ < for(i=0; i0; i+=sent); < }; <}; ++ENDFILE++