[ LUGOS ] sgmltools

Sasa Friedrich sasa.friedrich na uni-mb.si
Ned Sep 20 14:36:26 CEST 1998


Instaliral sem sgml tools 1.0.5. Instalacija je uspela, a sedaj, ko 
hocem zahnati npr. sgml2html pa dobim odgovor
bash: :No such file or directory
(ceprav sem v direktoriju v katerem se nahaja program /usr/local/bin)

Kaj je narobe?

PS: Za pomoc dodajam se vsebino datoteke sgml3html

#! 
#
#   sgmltools.in
#
#   $Id: 333.html,v 1.1 2001/05/29 09:03:33 roman Exp $
#
#   SGML-Tools driver. Calls all other SGML-Tools components, contains
#   configuration information, etcetera.
#
package main;

sub BEGIN 
{
  require 5.004;
}
use strict;

use vars qw($prefix $LibDir $BinDir $progs);

$prefix = "/usr/local";
$LibDir = "/usr/local/lib/sgml-tools";
$BinDir = "/usr/local/bin";

use lib "/usr/local/lib/sgml-tools";
#use lib "/usr/local/perl5";
use lib "/usr/local/lib/perl5";
$progs = {
  "NSGMLS" => "/usr/local/bin/nsgmls",
  "SGMLSASP" => "/usr/local/bin/sgmlsasp",
  "GROFF" => "/usr/bin/groff"
};

require SGMLTools;
&SGMLTools::init;

my @FileList = SGMLTools::process_options ($0, @ARGV);
for my $curfile (@FileList)
  {
    SGMLTools::process_file ($curfile);
  }

exit 0;




Dodatne informacije o seznamu Starilist