[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installtex bug????



On Tue, Oct 24, 2006 at 00:09 +0200, Ralf Stubner wrote:
> > > > > 	  if ($line =~ m/^[^\w#]*([\w-]+)*/( {
> 
>           if ($line =~ m/^([^#\s]\S*)/( {
>  
> ie take as many non-white sapce characters as possible starting at the
> begining of the line where the first character is neither '#' not white
> space. 

BTW, this is one of the differences between the two regular expressions:
With my suggestion it would not be allowed to have white space before
the format name. I don't know any formal specifications for fmtutil.cnf,
but fmtutil itself searches in find_info_for_name() like this:

egrep "^$format( |	)" "$cnf_file"

cherio
ralf



Reply to: