From: "Akinori MUSHA" <knu@iDaemons.org>
To: zsh-workers@sunsite.auc.dk
Subject: a fix for _chown
Date: Sat, 14 Jul 2001 16:05:08 +0900 [thread overview]
Message-ID: <86itgw6lej.wl@archon.local.idaemons.org> (raw)
Hello,
The following patch fixes the _chown compdef for *BSD.
Recently FreeBSD 5.0-CURRENT dropped the support for the non-POSIX
notation of the "user.group" style. Since all the BSD's have chown(1)
that understands the "user:group" style nowadays, I think this is a
reasonable and safe fix for *BSD.
--- _chown.orig Sat Jul 14 15:58:00 2001
+++ _chown Sat Jul 14 15:58:38 2001
@@ -9,7 +9,7 @@
fi
_groups && return 0
else
- if [[ $OSTYPE = (solaris*|hpux*) ]]; then
+ if [[ $OSTYPE = (solaris*|hpux*|*bsd*) ]]; then
suf=':'
else
suf='.'
Regards,
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"Freeze this moment a little bit longer, make each impression
a little bit stronger.. Experience slips away -- Time stand still"
next reply other threads:[~2001-07-14 7:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-14 7:05 Akinori MUSHA [this message]
2001-07-17 11:00 ` Oliver Kiddle
2001-07-17 23:42 ` David Terrell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86itgw6lej.wl@archon.local.idaemons.org \
--to=knu@idaemons.org \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).