Article View: comp.sources.apple2
Article #78v001ADM17: Apple Archive Format
From: Jonathan A. Chandross
Date: Sun, 28 Oct 1990 20:49
Date: Sun, 28 Oct 1990 20:49
68 lines
2710 bytes
2710 bytes
Submitted-by: jac
Posting-number: Volume 1, Administrivia: 17
I would like to thank Doug Gwyn and Peter da Silva for their help in
developing the Apple Archive Format.
********************************************************************************
Apple Archive Format
COPYRIGHT 1990 by Jonathan A. Chandross.
All rights reserved.
The AAF is a simple archive format designed for shipping around Apple
source code. An archive consists of a series of lines. Each line is
interpreted according to the first character of the line. The
interpretations are:
= the name of the unpacked file starting here
- a source line to be unpacked into the current file
+ end of archive.
Lines beginning with any other character are simply output to the console.
A simple example of this format:
From: reagan@ciavax.mil
To: freeworld
Subject: My first program.
Here's some great code. Haven't had this much fun since
I almost started WWIII.
Ronbo.
=helloworld.c
-main()
-{
- printf("Hello World\n");
-}
=Read.Me
-Test out a C compiler; just compile and execute.
+ All done.
Ron
ron@ciavax.mil
This file would create the files "helloworld.c" and "Read.Me". When
the archive was unpacked, all of the non-source and non-file-name
lines would be output to the console until the '+' was encountered.
Using '=' to specify a file name and '-' to specify a line of source
allows a standard USENET or email file to be unpacked without removing
any preamble or trailing information.
The '+' at the end of the file indicates the end of an archive. Lines
occurring past this point will not be processed at all.
The '=' and "+" sentinels are due to Doug Gwyn.
********************************************************************************
--------------------------------------------------------------------------------
To get something posted to comp.sources.apple2, send it to:
Internet: jac@paul.rutgers.edu
UUCP: rutgers!paul.rutgers.edu!jac
Please mark comments that are not to be posted with "Not for Posting".
Otherwise, I often can't tell.
Jonathan A. Chandross
Internet: jac@paul.rutgers.edu
UUCP: rutgers!paul.rutgers.edu!jac
Technical Details
Message-ID:
<Oct.28.15.49.38.1990.13522@yoko.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!timbuk!cs.umn.edu!uc!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!rutgers!aramis.rutgers.edu!paul.rutgers.edu!yoko.rutgers.edu!jacShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!timbuk!cs.umn.edu!uc!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!rutgers!aramis.rutgers.edu!paul.rutgers.edu!yoko.rutgers.edu!jac From: jac@yoko.rutgers.edu (Jonathan A. Chandross) Newsgroups: comp.sources.apple2 Subject: v001ADM17: Apple Archive Format Message-ID: <Oct.28.15.49.38.1990.13522@yoko.rutgers.edu> Date: 28 Oct 90 20:49:39 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 68 Approved: jac@paul.rutgers.edu