Changeset 3400 for trunk/gsdl/bin
- Timestamp:
- 2002-08-26T11:43:17+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gsConvert.pl
r3350 r3400 66 66 print STDERR " or text using third-party programs.\n\n"; 67 67 print STDERR " usage: $0 [options] filename\n"; 68 print STDERR " options:\n\t-type\tdoc| pdf|ps|ppt|rtf|xls\t(input file type)\n";68 print STDERR " options:\n\t-type\tdoc|dot|pdf|ps|ppt|rtf|xls\t(input file type)\n"; 69 69 print STDERR "\t-errlog\t<filename>\t(append err messages)\n"; 70 70 print STDERR "\t-output\thtml|text\n"; 71 71 print STDERR "\t-timeout\t<max cpu seconds>\t(ulimit on unix systems)\n"; 72 print STDERR "\t-use_strings\t(use str nigs to extract text if conversion fails)\n";72 print STDERR "\t-use_strings\t(use strings to extract text if conversion fails)\n"; 73 73 exit(1); 74 74 } … … 84 84 # read command-line arguments 85 85 if (!parsargv::parse(\@ARGV, 86 'type/(doc| pdf|ps|ppt|rtf|xls)/', \$input_type,86 'type/(doc|dot|pdf|ps|ppt|rtf|xls)/', \$input_type, 87 87 '/errlog/.*/', \$faillogfile, 88 88 'output/(html|text)/', \$output_type, … … 124 124 exit(1); 125 125 } 126 elsif ($input_type eq "doc" ) {126 elsif ($input_type eq "doc" || $input_type eq "dot") { 127 127 print &convertDOC($input_filename, $output_filestem, $output_type); 128 128 print "\n";
Note:
See TracChangeset
for help on using the changeset viewer.