Date: Tue, 30 Jul 2002 21:03:45 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Stupid question about "less" Message-ID: <20020731020345.GH95493@dan.emsphone.com> In-Reply-To: <Pine.BSF.4.21.0207301945140.11397-100000@wonkity.com> References: <Pine.BSF.4.21.0207301945140.11397-100000@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 30), Warren Block said: > Is there an easier way to do case-insensitive searches with less? That > is, other than with tedious things like this: > > /[Ss][Oo][Mm][Ee][Tt][Hh][Ii][Nn][Gg] > > Nothing jumps out from the man page... You must have glazed over this paragraph :) -i or --ignore-case Causes searches to ignore case; that is, uppercase and lowercase are considered identical. This option is ignored if any uppercase letters appear in the search pattern; in other words, if a pattern contains uppercase letters, then that search does not ignore case. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020731020345.GH95493>