zsh-workers
 help / color / mirror / code / Atom feed
From: "Zefram" <zefram@tao.co.uk>
To: phil@athenaeum.demon.co.uk (Phil Pennock)
Cc: zsh-workers@math.gatech.edu
Subject: Re: v3.1.4 Files/mv bug
Date: Wed, 14 Oct 1998 18:46:52 +0100 (BST)	[thread overview]
Message-ID: <199810141746.SAA26773@diamond.tao.co.uk> (raw)
In-Reply-To: <199810141738.SAA02973@athenaeum.demon.co.uk> from "Phil Pennock" at Oct 14, 98 06:38:23 pm

Phil Pennock wrote:
>So, just how POSIX-compliant is zsh aiming to be?  What does POSIX
>actually require, anyway?

POSIX does require the historical behaviour of mv.  However, as this
mv can only be used by taking explicit action (loading/autoloading
the module), I consider POSIX conformance to be less of an issue than
it is for the shell itself.  If someone wants to write a patch to add
the copy/remove fallback to the builtin mv, I don't have a problem with
putting it into the baseline; I just don't consider the current behaviour
to be broken.

>                                But, either the shell could do it
>correctly or if the link(2) fails with EXDEV then automatically use the
>one in the PATH.

Ugly.  There are a number of nasty issues here.

>Alternatively, since they're both GPL'ed, just rip the code from the
>FSF's GNU shell-utils or wherever mv(1) normally lives ...

zsh is not GPLed, and it's written much more neatly than most GNU
programs anyway.

-zefram


  reply	other threads:[~1998-10-14 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-13 23:04 Phil Pennock
1998-10-14  9:48 ` Zefram
1998-10-14 14:46   ` PATCH: v3.1.4 Files/mv bug is a feature Bart Schaefer
1998-10-14 15:07   ` v3.1.4 Files/mv bug Dan Nelson
1998-10-14 17:38   ` Phil Pennock
1998-10-14 17:46     ` Zefram [this message]
1998-10-14 18:05       ` Phil Pennock
1998-10-14 18:41       ` Bart Schaefer

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=199810141746.SAA26773@diamond.tao.co.uk \
    --to=zefram@tao.co.uk \
    --cc=phil@athenaeum.demon.co.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).