bug-texinfo
[Top][All Lists]
Advanced

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

Re: info -f does not ignore ./


From: Karl Berry
Subject: Re: info -f does not ignore ./
Date: Mon, 7 Mar 2005 17:20:25 -0500

    'info' is the only program to treat pathnames this way. 

In the shell, if you type "foo", it will search along PATH for foo, not
automatically and unchangeably look for ./foo; . is not treated specially.

This was in fact the model for the behavior of Info.  We're searching
along a path, therefore respect the path setting instead of assuming we
are smarter than the user.

Maybe the answer is for . to be first in DEFAULT_INFOPATH, instead of
last.  Then you'd get the behavior you want (I believe), but the meaning
of the option would not change. I don't see any big downside offhand,
but I dunno ...

Probably --filename was not the best name for the option, as I agree
it's not treated like filename args in most utilities.  You are not the
first person to be confused by it.

Overall, standalone Info does not interest me all that much, and I wish
someone else would maintain it :).

    Then, can you please provide another option which will take a FILENAME

Another option, ick.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]