Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7098

Re: Case insensitive bash search?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From ray carter <ray@zianet.com>
Newsgroups comp.os.linux.misc
Subject Re: Case insensitive bash search?
Date 25 Jan 2013 20:45:52 GMT
Lines 19
Message-ID <amg980F91h0U3@mid.individual.net> (permalink)
References <kdudlt$48h$1@speranza.aioe.org> <1KzMs.131493$2v.110871@newsfe05.iad> <87r4l982oa.fsf@araminta.anjou.terraraq.org.uk>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net 7Tg73uiywDrzgU9OMZSLqAHTfT42uKzV0O/72QM3Zpy3VL75qyqnOjL3D2vanKn3EV
Cancel-Lock sha1:wA16F8UwnDRk9qwfHNQwtlD3OSM=
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Xref csiph.com comp.os.linux.misc:7098

Show key headers only | View raw


On Fri, 25 Jan 2013 19:48:05 +0000, Richard Kettlewell wrote:

> unruh <unruh@invalid.ca> writes:
>> On 2013-01-25, Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> wrote:
>>> Hello,
>>>
>>> Is it possible to have the search of a folder with "ll" return all
>>> case-insensitive results?
>>>
>>> As an example, if I search for "*Foo*", I will only get files that
>>> have the capital "F", but not "foo".
>>
>> I do not think ls has such an option. But you could do ls |grep -i
>> '*foo*'
>> which would return the case insensitive result.
> 
> That won’t work.  grep doesn’t use glob syntax.

Simply use 'ls | grep -i foo'.

Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 08:59 -0800
  Re: Case insensitive bash search? Robert Heller <heller@deepsoft.com> - 2013-01-25 11:44 -0600
    Re: Case insensitive bash search? gazelle@shell.xmission.com (Kenny McCormack) - 2013-01-29 13:56 +0000
      Re: Case insensitive bash search? Wayne <nospam@all.invalid> - 2013-01-29 12:41 -0500
  Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-25 17:59 +0000
    Re: Case insensitive bash search? Lew Pitcher <lpitcher@teksavvy.com> - 2013-01-25 13:13 -0500
      Re: Case insensitive bash search? Lew Pitcher <lpitcher@teksavvy.com> - 2013-01-25 13:23 -0500
    Re: Case insensitive bash search? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-25 19:48 +0000
      Re: Case insensitive bash search? ray carter <ray@zianet.com> - 2013-01-25 20:45 +0000
        Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 14:58 -0800
          Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 15:28 -0800
            Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 16:14 -0800
            Re: Case insensitive bash search? Robert Heller <heller@deepsoft.com> - 2013-01-25 19:04 -0600
            Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 06:51 +0000
      Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 06:47 +0000
        Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 16:36 +0000
  Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-25 20:01 +0000
    Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 15:01 -0800
      Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-25 23:36 +0000
        Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 16:09 -0800
          Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-26 11:21 +0000
            Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-26 15:14 -0800
        Re: Case insensitive bash search? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-01-25 20:11 -0500

csiph-web