Diff for /loncom/build/piml_parse.pl between versions 1.6 and 1.8

version 1.6, 2002/04/08 10:53:17 version 1.8, 2002/11/26 15:25:21
Line 66  use HTML::TokeParser; Line 66  use HTML::TokeParser;
 my $usage=(<<END);  my $usage=(<<END);
 **** ERROR ERROR ERROR ERROR ****  **** ERROR ERROR ERROR ERROR ****
 Usage is for piml file to come in through standard input.  Usage is for piml file to come in through standard input.
 1st argument is the category permissions to use (runtime or development)  1st is install, configinstall, or build
 2nd argument is the distribution (default,redhat6.2,debian2.2,redhat7.1,etc).  2st argument is the category permissions to use (runtime or development)
 3rd argument is to manually specify a targetroot  3nd argument is the distribution (default,redhat6.2,debian2.2,redhat7.1,etc).
   4rd argument is to manually specify a targetroot
   
 Only the 1st argument is mandatory for the program to run.  The first 3 arguments are required for the program to run.
   
 Example:  Example:
   
Line 81  END Line 82  END
 # ------------------------------------------------- Grab command line arguments  # ------------------------------------------------- Grab command line arguments
   
 my $mode;  my $mode;
 if (@ARGV==3) {  if (@ARGV>=3) {
     $mode = shift @ARGV;      $mode = shift @ARGV;
 }  }
 else {  else {
Line 513  sub trim { Line 514  sub trim {
   
 =head1 NAME  =head1 NAME
   
 piml_parse.pl - This is meant to parse files meeting the piml document type.  piml_parse.pl - This is meant to parse piml files (Post Installation Markup Language)
 See piml.dtd.  PIML=Post Installation Markup Language.  
   
 =head1 SYNOPSIS  =head1 SYNOPSIS
   

Removed from v.1.6  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>