Progress
Developer’s Toolkit


The bundle.c Program

The bundle program puts input files into a bundle:

SYNTAX (UNIX) 
bundle [ -ascii | -binary ] [ -uppercase | -lowercase ]
  bundle-file   { { -select [ selection-file ] } | input-file }  

-ascii | -binary

Specifies whether the input file is to be read as an ASCII text file or as a binary file. The default is binary.

-uppercase | -lowercase

Tells bundle to convert the names of files being bundled to uppercase or lowercase. By default, filenames are used without case conversion.

bundle-file

Provides the name of the file into which input files are bundled. If the file does not exist, bundle creates it. If it does exist, bundle appends data to the end of it.

-select selection-file

Indicates that the names of the input files are to be read from a selection file. By default, the selection file is read from standard input.

This is the format of selection-file:

SYNTAX
filename [ ascii | binary ] 

Each entry must be on a line by itself and cannot continue across lines.

If ascii or binary is absent, the command line specification is used. Use an exclamation point ( ! ) or pound sign ( # ) as comment characters. Everything from a comment character to the end of line is ignored. The comment character must be separated from any preceding text by a blank space. Blank lines are also ignored. Wild cards are not supported.

This is a sample file:

# First line.
# Config files follow.
cfg-show.x   # Depending on command-line, ascii or binary.
cfg-doc.txt  ascii
cfg-make     ascii  
# The next line is blank.    # Last line. 

input-file

The name of a single input file. Wild cards are not supported.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095