bug-findutils
[Top][All Lists]
Advanced

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

[bug #32976] find has no option to ignore case of starting directories


From: Linda A. Walsh
Subject: [bug #32976] find has no option to ignore case of starting directories
Date: Sun, 1 Sep 2019 04:56:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.9) Gecko/20100101 Goanna/4.1 Firefox/60.9 PaleMoon/28.3.0

Follow-up Comment #5, bug #32976 (project findutils):

[comment #1 comment #1:]
> If I understand what you're asking for, this is what -iname does.
> 
> /tmp$ touch x
> /tmp$ find x -iname X
> x
> 
> If this isn't what you are interested in, could you be more specific?
> 
I was asking for a case ignore option for the starting path.

I'm aware of -iname to look for names, ignoring case, but how do you put in
the start directory?

find <startdir> args

what is needed is a find DIR -istart which would find DIR whether it is named
'dir', 'DIR' or whatever.  like -maxdepth, -istart would have to be one of the
first args.

In a similar way bash can match a path regardless of case if it is part of a
regex and you hve the ignore case turned on.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?32976>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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