• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Looking for ideas about displaying unkown-type data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for ideas about displaying unkown-type data


  • Subject: Re: Looking for ideas about displaying unkown-type data
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 17 Aug 2002 20:19:29 -0400

On Saturday, August 17, 2002, at 07:32 PM, Gerben Wierda wrote:

I recognize if the data is displayable? Some sort of 'file' command, but then inside Cocoa, maybe? I'd rather not write the uncompressed file somewhere first. And I do want to be able to display compressed ASCII files just like that (so running everything through od is not an option).

The 'file' command gets its info from /etc/magic. Contrary to what the name of the file would lead you to believe, there's not much magic happening; it just looks for specific sequences of bytes or character strings at known offsets within the file.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Looking for ideas about displaying unkown-type data (From: Gerben Wierda <email@hidden>)

  • Prev by Date: years:months:days:hours:minutes:seconds:sinceDate: really slow!
  • Next by Date: Re: ObjC/Cocoa in university curricula?
  • Previous by thread: Looking for ideas about displaying unkown-type data
  • Next by thread: Re: cocoa-dev digest, Vol 2 #1121 - 20 msgs
  • Index(es):
    • Date
    • Thread