zsh-users
 help / color / mirror / code / Atom feed
* Globbing feature suggestion
@ 2005-12-13  2:07 Jonathan Hankins
  2005-12-13  4:16 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Hankins @ 2005-12-13  2:07 UTC (permalink / raw)
  To: zsh-users

What if you could get the effect of find(1)'s "-nouser" and "-nogroup"
(true for files whose numeric UID and GID have no corresponding entry
in the passwd file) like this:

  print -l *(^u)
  print -l *(^g)

or maybe (to allow 'u' and 'g' clustering)

  print -l *(^u::)
  print -l *(^g::)

The latter would allow you to specify files that had both no user or
group owner.

I sometimes use "find / -nouser -o -nogroup" to locate files owned by
users or groups that have been removed from the system.

Thanks,

-Jonathan Hankins

-- 
+------------------+-----------------------------------------------------+
|Jonathan Hankins  | 		       	 jonathan-hankins@mindspring.com |
+------------------+-----------------------------------------------------+


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-13  4:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13  2:07 Globbing feature suggestion Jonathan Hankins
2005-12-13  4:16 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).