DLACAT User's Guide =========================================================================== Last revised on 2016 JAN 08 by N. J. Bachman. Abstract -------------------------------------------------------- DLACAT is a command-line utility program that concatenates together SPICE DLA files of the same type. Summary -------------------------------------------------------- DLACAT is a program for concatenating several DLA files of the same type into a single, new file. For example, using DLACAT you can concatenate several DSK files into a single file, since DSK files are instances of DLA files. However, DLACAT does not allow you to concatenate different types of DLA based files into a single DLA file. DLACAT concatenates the source files in the order their names are provided as input. For each source file the segments are copied to the destination file in the same order as they are stored in the source file. The program does not alter the data from any of the segments in any way. DLACAT does not put any information into the comment area of the output file. It is the responsibility of the operator of the program to prepare comments for the output file and to add them to the file using the COMMNT utility program (see commnt.ug for details). Usage -------------------------------------------------------- DLACAT takes a list of files to concatenate from standard input and concatenates them together in a new file that is listed on the command line. Thus if the text file ``sources'' contains a list of names of DSK files to be concatenated together and you wish the combination to reside in the file ``grouped.bds,'' enter the command dlacat grouped.bds < sources In this case, the file ``sources'' should contain one DLA file name per line, for example: dsk1.bds dsk2.bds dsk3.bds You can also invoke DLACAT and type the sources to be concatenated together (follow the list by the end of file character). For example suppose the list of files in input ``sources'' above is ``dsk1.bds,'' ``dsk2.bds,'' ``dsk3.bds.'' You can concatenate these together by typing: dlacat grouped.bds DLACAT will respond with version information and a ``blank'' prompt DLA binary files concatenation program version. 1.00 Now just type the list of files to be concatenated together. Terminate the list with the end of file character (CTRL-D on UNIX and DOS platforms, CTRL-Z on VAX/VMS systems). dsk1.bds dsk2.bds dsk3.bds ^D Other UNIX and DOS scenarios -------------------------------------------------------- On UNIX and DOS systems you may redirect the output from some other command to the input of DLACAT. For example ls -1 dsk*.bds | dlacat combined.bds