Article View: alt.folklore.computers
Article #115BSD /bin/mail
From: j... Jyrki Kuoppala
Date: Wed, 13 Dec 1989 17:11
Date: Wed, 13 Dec 1989 17:11
18 lines
1511 bytes
1511 bytes
Once I was working on a program to do some interesting things with
ptrace() (no, I won't tell you the details ;-). I had the basic
concept working and was just polishing the code a bit. I used
/bin/mail to do some testing. I was more than a bit amazed when the
program just started saying `puke' to me - I checked my code and no
there wasn't a string `puke' there. But still all the program did was
that it printed the word `puke' on the line by itself - well maybe
machines really HAVE a sense of humour, I thought (taking into account
what I was trying to do ;-).
After some amount of tracing and thinking I could reproduce the
message by execlp("/bin/mail", 0);
//Jyrki
Jyrki Kuoppala Helsinki University of Technology, Finland.
Internet : j...@cs.hut.fi [130.233.251.253]
BITNET : jkp@fingate.bitnet Gravity is a myth, the Earth sucks!
Technical Details
Message-ID:
<1989Dec13.171150.6074@santra.uucp>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!tut!santra!newsShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!tut!santra!news From: j...@cs.HUT.FI (Jyrki Kuoppala) Newsgroups: alt.folklore.computers Subject: BSD /bin/mail Summary: don't let the machine puke on you even if it doesn't like you Message-ID: <1989Dec13.171150.6074@santra.uucp> Date: 13 Dec 89 17:11:50 GMT Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: j...@cs.HUT.FI (Jyrki Kuoppala) Distribution: alt Organization: Helsinki University of Technology, Finland Lines: 18 Posted: Wed Dec 13 18:11:50 1989 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit