home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / apple2 / 20 < prev    next >
Encoding:
Internet Message Format  |  1990-11-26  |  2.4 KB

  1. Path: wuarchive!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!jac
  2. From: jac@paul.rutgers.edu (Jonathan A. Chandross)
  3. Newsgroups: comp.sources.apple2
  4. Subject: v001INF001:  Apple Archive Format (AAF) Specification
  5. Message-ID: <Nov.18.20.20.37.1990.19767@paul.rutgers.edu>
  6. Date: 19 Nov 90 01:20:39 GMT
  7. Organization: Rutgers Univ., New Brunswick, N.J.
  8. Lines: 75
  9. Approved: jac@paul.rutgers.edu
  10.  
  11.  
  12. Submitted-by: NONE
  13. Posting-number: Volume 1, Information: 1
  14. Archive-name: AAF_spec
  15. Architecture: ANY_2
  16. Version-number: 1.00
  17.  
  18. This contains the specification for the Apple Archive Format.
  19.  
  20. --------------------------------
  21.  
  22. Apple Archive Format
  23. Version 1.00
  24.  
  25. COPYRIGHT 1990 by Jonathan A. Chandross.
  26. All Rights Reserved.
  27.  
  28. The AAF is a simple archive format designed for shipping around Apple
  29. source code.  An archive consists of a series of lines.  Each line is
  30. interpreted according to the first character of the line.  The
  31. interpretations are:
  32.  
  33.     =       the name of the unpacked file starting here
  34.     -       a source line to be unpacked into the current file
  35.     +       end of archive.
  36.  
  37. Lines beginning with any other character are simply output to the console.
  38.  
  39. A simple example of this format:
  40.     From: random@foobar.com
  41.     To: freeworld
  42.     Subject: First program.
  43.             R.
  44.     =helloworld.c
  45.     -main()
  46.     -{
  47.     -       printf("Hello World\n");
  48.     -}
  49.     =Read.Me
  50.     -Test out a C compiler; just compile and execute.
  51.     + All done.
  52.     J. Random Hacker
  53.     random@foobar.com
  54.  
  55. This file would create the files "helloworld.c" and "Read.Me".  When
  56. the archive was unpacked, all of the non-source and non-file-name
  57. lines would be output to the console until the '+' was encountered.
  58.  
  59. Using '=' to specify a file name and '-' to specify a line of source
  60. allows a standard USENET or email file to be unpacked without removing
  61. any preamble or trailing information.
  62.  
  63. The '+' at the end of the file indicates the end of an archive.  Lines
  64. occurring past this point will not be processed at all.
  65.  
  66. The '=' and "+" sentinels are due to Doug Gwyn.
  67.  
  68.  
  69. Jonathan A. Chandross
  70. jac@paul.rutgers.edu
  71. November 1990
  72.  
  73. --------------------------------------------------------------------------------
  74.  
  75. To get something posted to comp.sources.apple2, send it to:
  76.     Internet: jac@paul.rutgers.edu
  77.     UUCP: rutgers!paul.rutgers.edu!jac
  78.  
  79. Please mark comments that are not to be posted with "Not for Posting".
  80. Otherwise, I often can't tell.
  81.  
  82.  
  83. Jonathan A. Chandross
  84. Internet: jac@paul.rutgers.edu
  85. UUCP: rutgers!paul.rutgers.edu!jac
  86.