[comp.sys.att] Odd 'strip' behaviour

oosten@dutinfd.UUCP (Gertjan van Oosten) (10/11/88)

Guess what?               (Summer's arrived, I feel the world's on my side .. 
                                - "Hey Manhattan", Prefab Sprout) 

No, seriously: I discovered a MAJOR BUG (and I mean BIG) in the version of 
'strip' I have on my 3B1. Here follows a script: 

% cat hello.c
main()
{
    extern void exit();

    exit(puts("Hello world!"));
    /* NOTREACHED */
}
% cc -o hello hello.c
% ./hello
Hello world!
% chmod -w hello
% ls -l hello
-r-xr-xr-x  1 gertjan users      9701 Oct 11 15:09 hello
% strip hello
strip:  hello:  cannot write, cannot strip
% ls -l hello
hello not found
% 

How's that for breakfast? 
Is it just my version of 'strip' or does everyone's 3B1 come shipped with 
this file-eater? 
A quick check on three other machines (a Microdutch running System V 
Release 2 X/OPEN, a VAX running 4.3 BSD and a PDP-11/73 running ULTRIX-11) 
shows that the problem is probably specific to my/the(*) 3B1-strip. 
(*) which one is appropriate

Well, have fun... 

                   G.J. van Oosten.

" When the revolution comes, I will be late 
  and I will be shot, as a traitor. " - The Sugar Cubes 

oosten@dutinfd.UUCP (Gertjan van Oosten) (10/20/88)

In article <1097@dutinfd.UUCP>, oosten@dutinfd.UUCP (Gertjan van Oosten) writes:
>                I discovered a MAJOR BUG (and I mean BIG) in the version of 
> 'strip' I have on my 3B1. 

Ok, I apologise: "I'm sorry." 
My 3B1 is running 3.5 straight, no ice. Perhaps this bug isn't present 
in 3.51; look at the following message that arrived in my mailbox:

  Well, G.J., I just tried this (your posting made me nervous) and it didn't
  work....  You should have posted the version of UNIX you're using;  it
  may be older than what most people have.  I'm running 3.51 with the 3.51a
  kernel.
  
(The message was sent by Eric H. Herrin II,
   {rutgers,uunet}!ukma!eric, eric@UKMA.BITNET, eric@ms.uky.edu)

Carry on, posters!

              Greetings, Gertjan van Oosten

 "If you want to hear about it, the first thing you'll probably want to know 
 is where I was born, and what my lousy childhood was like, and how my parents
 were occupied and all before they had me, and all that David Copperfield kind
 of crap, but I don't feel like going in to it. 
 
 .....
 
 Don't ever tell anybody anything. If you do, you start missing everybody." 

		 "The Catcher In The Rye" - J. D. Salinger