I suggest instead using less instead of cat, as it goes to some lengths to stop binary files messing up the terminal by accident.
- Jonathan Morton On 8 Mar 2014 19:13, <[email protected]> wrote: > On Fri, Mar 7, 2014 at 9:24 PM, Tom Frikker <[email protected]> wrote: > > Hello, > > I have files to be transferred to a floppy disk for the Mac 128k on my > > computer. Two of the files are called Unix Executable Files by my MacBook > > Pro. Apparently, according to a text editor, they are empty. Obviously, > this > > is not the case, as they are both 397KB. Does anyone know how to open > these > > files, or how to see the code in them? > > This might be a stupid question, but are they supposed to be text > files or are you just using the editor to look see what it is? And if > so does it make a difference adding the .txt extension to help out OS > X? > > Adding to Koralatov's reply, you can also just do > > $ cat OLD_MAC_FILE > > and it will spit the contents (binary, text, whatever) into the terminal. > > Stickman > > -- > -- > ----- > You received this message because you are a member of the Vintage Macs > group. > The list FAQ is at http://lowendmac.com/lists/vintagemacs.shtml and our > netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml > To post to this group, send email to [email protected] > To leave this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/vintage-macs > > Support for older Macs: http://lowendmac.com/services/ > --- > You received this message because you are subscribed to the Google Groups > "Vintage Macs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- ----- You received this message because you are a member of the Vintage Macs group. The list FAQ is at http://lowendmac.com/lists/vintagemacs.shtml and our netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml To post to this group, send email to [email protected] To leave this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/vintage-macs Support for older Macs: http://lowendmac.com/services/ --- You received this message because you are subscribed to the Google Groups "Vintage Macs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
