zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: copying files with shell built in functions?
Date: Fri, 28 Mar 2003 18:00:02 +0000	[thread overview]
Message-ID: <20030328180001.GB6040@fysh.org> (raw)
In-Reply-To: <20030328165928.GB14934@gmx.de>

Dominik Vogt wrote:
>In a fit of mental derangement, my colleagues tried to exchange
>the libc on a machine at run time and used 'mv' to rename the
>file.  As you might imagine, they regretted that immediately :-)

This is precisely what I created the zsh/files module for.  I have the
module loaded all the time, in normal user shells as well as root shells.
I've never had this kind of situation, where the external programs
were unusable, but I've frequently been glad that the argument length
limitations of exec(2) don't apply to builtins ("rm *" in a directory
with *lots* of files).

-zefram


  parent reply	other threads:[~2003-03-28 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-28 16:59 Dominik Vogt
2003-03-28 17:30 ` Borzenkov Andrey
2003-03-28 17:46 ` Stephane CHAZELAS
2003-03-28 18:00 ` Zefram [this message]
2003-03-28 19:03   ` Bart Schaefer
2003-03-28 19:11     ` Stephane CHAZELAS
2003-03-29  3:46       ` 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=20030328180001.GB6040@fysh.org \
    --to=zefram@fysh.org \
    --cc=zsh-users@sunsite.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).