[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting more out of man pages with less(1) (was: [bug #59962] soelim
From: |
Dave Kemper |
Subject: |
Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?) |
Date: |
Mon, 17 May 2021 11:38:11 -0500 |
On 5/16/21, G. Branden Robinson <g.branden.robinson@gmail.com> wrote:
> At 2021-05-16T20:29:30-0500, Dave Kemper wrote:
>> less's default is for searches to be case-sensitive. Its -i option
>> (which can be given on the command line or while less is running) is
>> what activates the behavior described above. A user or a distro might
>> make -i the default in their environment (I do) through the $LESS
>> environment variable or an alias, but that isn't less's out-of-the-box
>> behavior.
>
> On my Debian buster-based system, less(1) behaves that way, but $LESS is
> not defined in my environment and I don't have a shell alias or function
> set up. Checking the source package, I don't see patches to turn -i on
> by default. Baffling!
Maybe less's build system has a switch to compile in a different
default? Maybe this is a recent change? Maybe I'm completely wrong?
I haven't looked at the source or built it myself from github; I'm
going by the behavior on my systems, behavior I've observed on other
systems, and the wording of the man page (which documents "-i" to
invoke case-mostly-insensitive searches rather than an option to
switch to case-sensitive ones).
- Re: Why no cd(1) man page in Ubuntu? (was: man-intro), (continued)
- Re: Why no cd(1) man page in Ubuntu? (was: man-intro), James K. Lowden, 2021/05/29
- Re: man-intro, Oliver Corff, 2021/05/23
- Re: man-intro, Oliver Corff, 2021/05/23
- Re: man-intro, Peter Schaffter, 2021/05/23
- Re: man-intro, Dave Kemper, 2021/05/27
- Re: man-intro (was: getting more out of man pages with less(1) ), Larry Kollar, 2021/05/29
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/22
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/23
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/23
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/24
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?),
Dave Kemper <=
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?), Nate Bargmann, 2021/05/17
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?), Mike, 2021/05/26