Path: utzoo!utdoe!generic!pnet91!marekp From: marekp@pnet91.cts.com (Marek Pawlowski) Newsgroups: comp.sys.apple2 Subject: Re: Uploading files from GS to Unix. Message-ID: <578@generic.UUCP> Date: 19 Mar 91 02:00:06 GMT Sender: root@generic.UUCP Organization: People-Net [pnet91], Etobicoke, ON Lines: 21 (This should be included in some sort of FAQ monthly posting) To convert Control-M's to Control-J's (Apple, and Unix formats, respectively), under Unix, execute the following command from your shell prompt: tr '\015' '\012' New_Unix_File_Name An explanation: tr is a common abbreviation for "translate", and is the name of the binary file which will do the conversion for you. The two numbers, with a slash preceding them, surrounded by single brackets, are the OCTAL codes for Control-M and Control-J, respectively. You can put whatever characters in there if you wish (eg: tr 'A' 'B' bar, will replace all occurences of 'A' with 'B'). I honestly hope that helps.. /* Marek Pawlowski, marekp@{generic|pnet91|bkj386|torag|aunix}.uucp [CONT] */ /* {albert|wookumz|apple-gunkies|pogo|churchy|geech|spiff|mole}.ai.mit.edu */ /* President, Intelligent Twist Software, 250 Harding Blvd, PO BOX 32017 */ /* Richmond Hill, Ontario, L4C 9M7, CANADA. An ideal route is as follows: */ /* { Ph: (416) 884-4501 4-8pm EDT } generic!pnet91!marekp@zoo.toronto.edu */