At 15:30 -0700 10/29/08, dorayme wrote: >On Oct 29, 9:59 am, Bruce Johnson <[EMAIL PROTECTED]> wrote: > >> ... Documents have a resource fork attached, and can >> cause problems. If it's an image, open the file in TextWrangler, the >> first line should have JFIF in it. If the file opens as a picture in >> TextWRangler it's a JPEG Document. > >Indeed, but interestingly, it does not do this in BBEdit, at least >not mine, perhaps I have a pref set that has this effect? I just get >Double Dutch .
It's common for otherwise binary files to have a line of text at the start. It i's a way of identifying file type. Don't try to save such a file from BBEdit; look. but don't touch. A "head" request in terminal might be a better way to go for large image files. BBEdit converts 8 bit characters to 16 bit UTF-16 as a file is read and that will surely mess up an image file if saved. Version 8.5 of BBEdit has an option to save document-specific options in a resource fork.. The default is to save those choices in a special area of your home folder which is a kind of database for all recently used files. After a while the preferences disappear if a particular file is reopened. I think Bare Bones does that because a lot of their customers have a plurality of developers working with the same files that are stored on servers. This alias resides in my .tcshrc file. alias files ls -lF \*/..namedfork/data \*/..namedfork/rsrc If you execute it and then: cd somewhere files You'll see both resource and data forks with sizes of each. A size of zero indicates a fork that is not present. Use a bbedit worksheet. Double Dutch ???? -- --> A fair tax is one that you pay but I don't <-- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed Low End Mac's G3-5 List, a group for those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs. The list FAQ is at http://lowendmac.com/lists/g-list.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 unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/g3-5-list?hl=en Low End Mac RSS feed at feed://lowendmac.com/feed.xml -~----------~----~----~----~------~----~------~--~---
