delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/03/03:44:31

Date: Wed, 3 Jan 2001 10:42:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Two glitches for autoconf 2.49b
In-Reply-To: <200101021925.UAA28994@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1010103104228.1129B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 2 Jan 2001, Martin Str|mberg wrote:

> Would it be similarly easy to change man to support the mapping "::"
> -> "/"?

No, this is not simple.  `man' looks for suitable files by calling
readdir and fnmatch (since there's no portable way to get files which
match a wildcard directly from the file system).  Mapping to "/" will
thus require additional recursion(s) into the subdirectories.  So this
is not a simple string manipulation problem, it's a non-trivial change
in program's control flow.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019