From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8509 invoked from network); 9 Dec 1999 17:41:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Dec 1999 17:41:50 -0000 Received: (qmail 7143 invoked by alias); 9 Dec 1999 17:41:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8984 Received: (qmail 7131 invoked from network); 9 Dec 1999 17:41:35 -0000 Subject: Re: PATCH: chown and chgrp in files module In-Reply-To: from James Kirkpatrick at "Dec 9, 1999 10:20:53 am" To: jimkirk@uwyo.edu (James Kirkpatrick) Date: Thu, 9 Dec 1999 17:41:23 +0000 (GMT) Cc: zefram@fysh.org, zsh-workers@sunsite.auc.dk X-Mailer: ELM [version 2.4ME+ PL48 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram James Kirkpatrick wrote: >I'm not sure I understand. chown and chgrp are now builtins? If you load the files module. If you do nothing, you get the usual external programs. rm, mv, ln, mkdir, rmdir and sync are already available as builtins in exactly the same way. > Are they >POSIX compliant? Almost. chown accepts "." to separate username and group, in addition to the POSIX ":". This is the same level of POSIX conformance as GNU chown. >This does not seem to be the sort of thing that should be built in to a >shell, any more than rm, ls, find, or a C compiler :-) It's very useful to have these things built into a statically-linked system administration shell. (That's where the request for a builtin chown originated.) In addition to the utilities I listed above, we have a `stat' module that effectively makes possible a full implementation of ls as a shell function, and zsh globbing with glob qualifiers very nearly makes find redundant. -zefram