.\"------------------------------------------------------------ .\" Id - set Rv,revision, and Dt, Date using rcs-Id tag. .de Id .ds Rv \\$3 .ds Dt \\$4 .. .Id $Id$ .\"------------------------------------------------------------ .TH mg_text_merge 1 \*(Dt CITRI .SH NAME mg_text_merge \- Append one compressed text file to another .SH SYNOPSIS .B mg_text_merge [ .B \-h ] [ .BI \-d " directory" ] .BI \-f " name" .SH DESCRIPTION This program takes two .BR mg (1) database inverted files and stemmed dictionaries, named "old" and "new" respectively, and creates a merged stemmed dictionary and inverted file. It is part of the .BR mgmerge (1) addition to the .BR mg (1) package. The two compressed text files are .IR "name" .old.text and .IR "name" .new.text. .SH OPTIONS Options may appear in any order. .TP "\w'\fB\-d\fP \fIdirectory\fP'u+2n" .B \-h This displays a usage line on .IR stderr . .TP .BI \-d " directory" This specifies the directory where the document collection can be found. .TP .BI \-f " name" This specifies the base name of the document collection. .SH ENVIRONMENT .TP "\w'\fBMGDATA\fP'u+2n" .SB MGDATA If this environment variable exists, then its value is used as the default directory where the .BR mg (1) collection files are. If this variable does not exist, then the directory \*(lq\fB.\fP\*(rq is used by default. The command line option .BI \-d " directory" overrides the directory in .BR MGDATA . .SH FILES .TP 20 .B *.old.text The old compressed text. .TP .B *.new.text The new compressed text that will be appended .TP .SH "SEE ALSO" .na .BR mg (1), .BR mgmerge (1), .BR mg_get_merge (1), .BR mg_invf_merge (1), .BR mg_compression_dict (1), .BR mg_fast_comp_dict (1), .BR mgquery (1).