tiemann@AI.MIT.EDU (Micheal Tiemann) (01/10/90)
Return-Path: <MAILER-DAEMON@ai.mit.edu>
From: MAILER-DAEMON@ai.mit.edu
Date: Tue, 9 Jan 90 22:29:16 EST
Subject: Returned mail: User unknown
To: tiemann
----- Transcript of session follows -----
>>> RCPT To:<bug-binutils>
<<< 550 <bug-binutils>... User unknown
550 bug-binutils... User unknown
----- Unsent message follows -----
Return-Path: <tiemann>
Received: by apple-gunkies.ai.mit.edu (3.2/AI-4.10) id AA03847; Tue, 9 Jan 90 22:29:16 EST
Date: Tue, 9 Jan 90 22:29:16 EST
Message-Id: <9001100329.AA03847@apple-gunkies.ai.mit.edu>
To: bug-binutils
Subject: mv is broken?
My way of making a TAGS file without going through too much detail is
this:
TAGS: force
-mkdir temp
-mv cplus-tab.c cexp.c c-*.c *.y insn-*.[ch] gen*.c temp
etags *.h *.c
mv temp/* .
rmdir temp
It is defeated by GNU mv:
tiemann@apple-gunkies>make TAGS
mkdir temp
mv cplus-tab.c cexp.c c-*.c *.y insn-*.[ch] gen*.c temp
mv: cannot stat `cexp.c', not moved: No such file or directory
mv: cannot stat `c-*.c', not moved: No such file or directory
etags *.h *.c
mv temp/* .
mv: cannot stat `temp/gencodes.c', not moved: No such file or directory
mv: cannot stat `temp/genconfig.c', not moved: No such file or directory
mv: cannot stat `temp/genemit.c', not moved: No such file or directory
mv: cannot stat `temp/genextract.c', not moved: No such file or directory
mv: cannot stat `temp/genflags.c', not moved: No such file or directory
mv: cannot stat `temp/genoutput.c', not moved: No such file or directory
mv: cannot stat `temp/genpeep.c', not moved: No such file or directory
mv: cannot stat `temp/genrecog.c', not moved: No such file or directory
rmdir temp
rmdir: temp: Directory not empty
make: *** [TAGS] Error 1
tiemann@apple-gunkies>ls temp
gencodes.c genemit.c genflags.c genpeep.c
genconfig.c genextract.c genoutput.c genrecog.c
tiemann@apple-gunkies>ls genemit.c
ls: genemit.c: No such file or directory
tiemann@apple-gunkies>mv temp/* .
mv: cannot stat `temp/gencodes.c', not moved: No such file or directory
mv: cannot stat `temp/genconfig.c', not moved: No such file or directory
mv: cannot stat `temp/genemit.c', not moved: No such file or directory
mv: cannot stat `temp/genextract.c', not moved: No such file or directory
mv: cannot stat `temp/genflags.c', not moved: No such file or directory
mv: cannot stat `temp/genoutput.c', not moved: No such file or directory
mv: cannot stat `temp/genpeep.c', not moved: No such file or directory
mv: cannot stat `temp/genrecog.c', not moved: No such file or directory
tiemann@apple-gunkies>ls -l temp
total 16
lrwxrwxrwx 1 tiemann 17 Jan 9 16:36 gencodes.c -> ../gcc/gencodes.c
lrwxrwxrwx 1 tiemann 18 Jan 9 16:36 genconfig.c -> ../gcc/genconfig.c
lrwxrwxrwx 1 tiemann 16 Jan 9 16:36 genemit.c -> ../gcc/genemit.c
lrwxrwxrwx 1 tiemann 19 Jan 9 16:36 genextract.c -> ../gcc/genextract.c
lrwxrwxrwx 1 tiemann 17 Jan 9 16:36 genflags.c -> ../gcc/genflags.c
lrwxrwxrwx 1 tiemann 18 Jan 9 16:36 genoutput.c -> ../gcc/genoutput.c
lrwxrwxrwx 1 tiemann 16 Jan 9 16:36 genpeep.c -> ../gcc/genpeep.c
lrwxrwxrwx 1 tiemann 17 Jan 9 16:36 genrecog.c -> ../gcc/genrecog.c
tiemann@apple-gunkies>which mv
/usr/local/bin/mv
tiemann@apple-gunkies>/bin/mv temp/*.c .
tiemann@apple-gunkies>
This was unexpected.
Michael