Project

General

Profile

Feature #1146

find should support -iname

Added by Rich Lowe about 8 years ago. Updated about 8 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

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 regexResolved2011-01-27

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

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

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

Actions

History

#1

Updated by Yuri Pankov about 8 years ago

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

#2

Updated by Yuri Pankov about 8 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.

#3

Updated by Alexander Eremin about 8 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 ;)

#4

Updated by Alasdair Lumsden about 8 years ago

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

#5

Updated by Yuri Pankov about 8 years ago

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

#6

Updated by Igor Kozhukhov about 8 years ago

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

#7

Updated by Albert Lee about 8 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 <>

Also available in: Atom PDF