DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T b

⟦0c90cee58⟧ TextFile

    Length: 2942 (0xb7e)
    Types: TextFile
    Names: »bundle.info«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/bundle/bundle.info« 

TextFile

Bundle: a shell program to allow convenient packaging
	of ascii files into a distribution package.  

FORMAT:  bundle [-x -c -k -n -m ] [list] [....] > package

Bundle may be activated in several modes.  These are:

-n  (default mode)  Normal ascii file, no action taken on
	unbundling.  File is to be extracted without any
	special action to be taken.

	Format: bundle file1 file 2    > package
		bundle -n file1 file2 ... > package

-x  (execute mode) The list of files that follow the -x option
	are made to be executable (chmod +x) on unbundling.

	Format: bundle file1 -x file2 ... > package

	Causes the file named file2 to be changed to executable
	when the package is unbundled.  File1 is left as a normal
	ascii file.

-c   ("C" mode)  The list of files following the -c option (up to
	the next option) are to be compiled as "C" programs on
	unbundling.  The resultant executable file is named the 
	root name of the .c file.  The file must be named in the
	form file.c

	Format: bundle file1 -x file2 -c file.c > package

	Causes the file named file 1 to be treated as a normal ascii
	file, file2 is changed to be an executable ascii file, and
	file.c is compiled automatically on unbundle as file.

-k  (Kill mode) no list follows the -k option.  -k may appear
	anywhere in the argument list.  Causes the package to be
	removed after unbundling.

-m  (Make mode)	A single makefile may be included in the list
	of arguments, preceded by the -m option.  Causes the
	makefile to be executed as the last step in the unbundle
	process.  This does not effect the status of other flags,
	so it is recommended that the -m option be first in the
	argument list, or following the -n option.

These options may be mixed in any order in the argument list.
Each option must be followed by at least one space character.  The
space character is the argument list delimeter.  Upon encountering
an option, the provious mode is canceled, and action procedes based
on the new option.  This does not apply to the -k option, since the -k
option specifies the kill option with no arguments.  So, a bundle
line may look like this:

bundle file1 -c file.c -x file2 -c file3.c -k -n file4 -m file.mk >package
The results of this command will be:  

file1 and file4 are normal ascii files, and are left non-executable
on unbundle.

file.c, file2.c and file3.c are compiled automatically into executable
files named file  and file3 respectively.

file2 is left executable on unbundle.

make is executed on file.mk as the last step of unbundling
The entire bundle package is removed after unbundling.

To unbundle a bundle package :

sh package

causes the bundle package file named package to be unbundled.  As you
can see, the bundle program creates shell programs which recreate the
original files upon unbundling.

HELP:  Onscreen help is availabel by simply typing:

bundle

Super-bundle (bundle) creates files that are in shar (shell archiver) 
format.