From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19576 invoked from network); 12 Mar 2001 22:17:07 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Mar 2001 22:17:07 -0000 Received: (qmail 1346 invoked by alias); 12 Mar 2001 22:16:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3662 Received: (qmail 1335 invoked from network); 12 Mar 2001 22:16:52 -0000 From: "Bart Schaefer" Message-Id: <1010312221520.ZM29765@candle.brasslantern.com> Date: Mon, 12 Mar 2001 22:15:20 +0000 In-Reply-To: <200103120951.KAA48016@numa1.igpm.rwth-aachen.de> Comments: In reply to jarausch@igpm.rwth-aachen.de "strange effect on Linux" (Mar 12, 10:51am) References: <200103120951.KAA48016@numa1.igpm.rwth-aachen.de> X-Mailer: Z-Mail (5.0.0 30July97) To: jarausch@igpm.rwth-aachen.de, zsh-users@sunsite.dk Subject: Re: strange effect on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 12, 10:51am, jarausch@igpm.rwth-aachen.de wrote: } Subject: strange effect on Linux } } Progs=(perl5.7.$V sperl5.7.$V perl suidperl a2p c2ph h2ph h2xs \ } perlbug perldoc pl2pm splain perlcc dprofpp s2p find2perl \ } pod2man pod2html pod2latex pod2text pod2usage podchecker podselect pstruct) } mkdir Perl.$Mode.5.7.$V.$R } mv -f $^Progs Perl.$Mode.5.7.$V.$R/ } } Again and again I get the error messages } } mv: Perl.Prod.5.7.0.9063/perl: No such file or directory } mv: Perl.Prod.5.7.0.9063/suidperl: No such file or directory } mv: Perl.Prod.5.7.0.9063/pstruct: No such file or directory } } and I don't understand why it tries to access these files. perl, suidperl, and pstruct are all hard links to other files. In each case your "mv" command has already "mv"d the other name (e.g. perl5.7.0 for perl) for those files to the new directory. This sounds like a bug in "mv" -- are you using zsh's files module, or /bin/mv, or ...? Which linux *distribution* (not just kernel version) of linux are you using? What version of GNU fileutils? Are there any NFS file systems involved? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net