From owner-freebsd-questions Tue Jul 30 19: 3:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5029C37B400 for ; Tue, 30 Jul 2002 19:03:47 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EDB343E31 for ; Tue, 30 Jul 2002 19:03:46 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6V23jGH040138; Tue, 30 Jul 2002 21:03:45 -0500 (CDT) (envelope-from dan) Date: Tue, 30 Jul 2002 21:03:45 -0500 From: Dan Nelson To: Warren Block Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Stupid question about "less" Message-ID: <20020731020345.GH95493@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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