Changeset 7101 for trunk/gsdl/bin/script/buildcol.pl
- Timestamp:
- 2004-03-22T13:27:17+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r6945 r7101 156 156 return &gsprintf::gsprintf(@_); 157 157 } 158 159 160 # sub print_usage {161 # print STDOUT "\n";162 # print STDOUT "buildcol.pl: Builds the indexes of a Greenstone collection.\n\n";163 # print STDOUT " usage: $0 [options] collection-name\n\n";164 # print STDOUT " options:\n";165 # print STDOUT " -verbosity number 0=none, 3=lots\n";166 # print STDOUT " -archivedir directory Where the archives live\n";167 # print STDOUT " -builddir directory Where to put the built indexes\n";168 # print STDOUT " -maxdocs number Maximum number of documents to build\n";169 # print STDOUT " -debug Print output to STDOUT\n";170 # print STDOUT " -mode all|compress_text|build_index|infodb\n";171 # print STDOUT " -index indexname Index to build (will build all in\n";172 # print STDOUT " config file if not set)\n";173 # print STDOUT " -keepold will not destroy the current contents of the\n";174 # print STDOUT " building directory\n";175 # print STDOUT " -no_text Don't store compressed text. This option is\n";176 # print STDOUT " useful for minimizing the size of the built\n";177 # print STDOUT " indexes if you intend always to display the\n";178 # print STDOUT " original documents at run time (i.e. you won't\n";179 # print STDOUT " be able to retrieve the compressed text version)\n";180 # print STDOUT " -allclassifications Don't remove empty classifications\n";181 # print STDOUT " -create_images Attempt to create default images for new\n";182 # print STDOUT " collection. This relies on the Gimp being\n";183 # print STDOUT " installed along with relevant perl modules\n";184 # print STDOUT " to allow scripting from perl\n";185 # print STDOUT " -collectdir directory Collection directory (defaults to " .186 # &util::filename_cat ($ENV{'GSDLHOME'}, "collect") . ")\n";187 # print STDOUT " -out Filename or handle to print output status to.\n";188 # print STDOUT " The default is STDERR\n";189 # print STDOUT " -no_strip_html Do not strip the html tags from the indexed text\n";190 # print STDOUT " (only used for mgpp collections).\n\n";191 # print STDOUT " -faillog name Fail log filename. This log receives the filenames\n";192 # print STDOUT " of any files which fail to be processed (defaults.\n";193 # print STDOUT " to " .194 # &util::filename_cat("<collectdir>", "colname", "etc", "fail.log") . ")\n";195 # print STDOUT " [Type \"perl -S buildcol.pl | more\" if this help text scrolled off your screen]";196 # print STDOUT "\n" unless $ENV{'GSDLOS'} =~ /^windows$/i;197 # }198 158 199 159 … … 249 209 } 250 210 211 if ($gli) { # the gli wants strings to be in UTF-8 212 &gsprintf::output_strings_in_UTF8; 213 } 214 251 215 $textindex = ""; 252 216 my $close_out = 0;
Note:
See TracChangeset
for help on using the changeset viewer.