.\" $Header: /home/ahuxley/dev/active/fad/man/RCS/fadcat.1,v 1.10 2002/01/03 12:47:06 ahuxley Exp $ .\" .TH FADCAT 1 "3 January 2002" .SH NAME fadcat \- Concatenate FAD files .br .\" .\" we don't need a .br/.ne 5 here since there .\" isn't any chance really, that we're already .\" anywhere near the end of the first page. .\" .SH SYNOPSIS .B "fadcat -V" .br .B fadcat [ .B \-v ] [ .B \-o .I outfile ] [ .I infile ... ] [ .B \-g .I pattern ] .br .\" .\" we don't need a .br/.ne 5 here since there .\" isn't any chance really, that we're already .\" anywhere near the end of the first page. .\" .SH DESCRIPTION This man page documents .I fadcat version MARKER_PATCHLEVEL. .PP .I Fadcat is a Perl (see .I perl\fR(1)) script which takes a list of FAD files, such as are generated by by .I mkfad\fR(1), and generates a File Attribute Database (See .I fad\fR(5)) which is a concatenation of the input files, in much the same manner as .I cat\fR(1)). By default it reads from standard input and writes the database to standard output. .I Fadcat can read and write plain files or files compressed with either .I compress\fR(1) or .I gzip\fR(1). All that is necessary to use this feature is to specify file names with suitable extensions. .br .ne 5 .SH OPTIONS .\" This indents everything after the next line by 25 some-things. .TP 25 .B \-V Print the version number and exit. .TP .B \-o Writes the database to .I outfile\fR. The default is to write to standard output. .TP .B \-v Extra informational messages will be displayed while .I fadcat is running. .TP .B \-g \fIpattern\fR .I grep\fR(1) for the .I pattern on the throughput. .PD .br .ne 5 .SH EXAMPLES The following command merges two FAD files, saving the result: .br .nf fadcat file1.fad file2.fad > fad3.fad .br .fi .PP This is equivalent to either of the following: .br .nf fadcat -o fad3.fad - file2.fad < file1.fad fadcat -o fad3.fad file1.fad file2.fad .br .fi .ne 5 .SH FILES See .I fad\fR(5). .br .ne 5 .SH ENVIRONMENT VARIABLES See .I fad\fR(5). .br .ne 5 .SH DIAGNOSTICS All messages relate to file access. .br .ne 5 .SH CAVEATS None. .br .ne 5 .SH SEE ALSO perl(1), fad(5), find(1), faddiff(1) compress(1), gzip(1), cat(1) .br .ne 5 .SH AUTHOR Alexis Huxley .br .ne 5 .SH BUGS See also .I fad\fR(5). .PP Bug reports and queries should be reported to .B fad-support@danae.demon.co.uk\fR. .PP For the latest release of the FAD tools, visit .B http://www.danae.demon.co.uk/software/fad/\fR. .br .ne 5 .SH COPYRIGHT & DISTRIBUTION POLICY Copyright (C) 1995-2002 Alexis Huxley .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.