Project

General

Profile

Actions

Feature #1146

closed

find should support -iname

Added by Rich Lowe almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2011-06-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Now we have an fnmatch(), we should add find -iname support (this maybe supported already in the new fnmatch, but if not it should be added).


Related issues

Related to illumos gate - Feature #674: find does not support regexResolvedYuri Pankov2011-01-27

Actions
Related to illumos gate - Bug #1448: find should support -mindepth, -maxdepthResolvedYuri Pankov2011-09-04

Actions
Related to illumos gate - Feature #1468: find should support -print0ResolvedYuri Pankov2011-09-05

Actions
Blocked by illumos gate - Bug #992: towlower/towupper are brokenResolvedYuri Pankov2011-05-04

Actions
Actions #1

Updated by Yuri Pankov almost 12 years ago

It is supported, but is missing from manpage (FNM_IGNORECASE).

Actions #2

Updated by Yuri Pankov almost 12 years ago

I've added -iname as well as -print0, -useracl, -groupacl (returning true if the file/directory has non-trivial ACEs for specified user/group), -iregex, -regex (#674). If there is any interest in changes other than -iname and -regex I'll submit a review with all changes, otherwise please tell me and I'll make a review only for -iname and -regex.

Actions #3

Updated by Alexander Eremin almost 12 years ago

Yuri Pankov wrote:

I've added -iname as well as -print0, -useracl, -groupacl (returning true if the file/directory has non-trivial ACEs for specified user/group), -iregex, -regex (#674). If there is any interest in changes other than -iname and -regex I'll submit a review with all changes, otherwise please tell me and I'll make a review only for -iname and -regex.

For 'find' I'd like all changes ;)

Actions #4

Updated by Alasdair Lumsden almost 12 years ago

If we're enhancing find, can we have -maxdepth and -delete?

Actions #5

Updated by Yuri Pankov almost 12 years ago

No problem in adding these primaries if those caring about strictly conforming to POSIX are ok with them :-)

Actions #6

Updated by Igor Kozhukhov almost 12 years ago

what news about implementation '-maxdepth' to 'find' ?
it is feature very often is using in scripts.

Actions #7

Updated by Albert Lee over 11 years ago

  • Category set to cmd - userland programs
  • Status changed from New to Resolved
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 100

Fixed in:
changeset: 13450:911d80518e4e
tag: tip
user: Yuri Pankov <>
date: Tue Sep 13 12:11:38 2011 -0400
files: usr/src/cmd/find/find.c usr/src/man/man1/find.1
description:
674 find does not support regex
1146 find should support -iname
1448 find should support -mindepth, -maxdepth
1449 Add -useracl, -groupacl primaries to find
1468 find should support -print0
Reviewed by: Dan McDonald <>
Reviewed by: Igor Kozhukhov <>
Approved by: Albert Lee <>

Actions

Also available in: Atom PDF