Bad bugs, bad bugs..

what you're gonna do if they come for you..

There are bugs and incidents that stupid, awkward, ugly, well hidden, embarassing and unexpected one might not even believe in their existence. Nevertheless, they do exist.

On this page I will present several of those. Your contributions are welcome!


ARC!

Given is the following shell script, containing several stupid bugs (never work when tired..).


and on my machine it says:


Huh? No single line saying somthing like ARC ... and what about UNIX??
How comes?


Unix blindness

We got some shell script...


.. which refuses to run:


And, yes, everything is OK with the libs.


Reason for this behavior:
As it seems the file was converted from DOS to UNIX, leaving an invisible character (which can only be seen using a hex editor/hexdump) behind the #!/bin/sh string, making it a lot different from the string #!/bin/sh.

Here is the File: nonexist.sh

The first line:


Most CPU intensive texteditor ever

Setting:
SunIPC running SunOS 4.1.1 and olwm.
Testing stuff and thus working as root (don't bash me.. i know..).
A olwm directory window, containing a file "foobar.c" written by me, placed there for attempting to compile it using SUN CC.

What was happening?
Beginning of the file foobar.c:
/Addressbook: permission denied was due to a file Addressbook in the root directory which of course was attempted to execute by /* (first line of foobar.c).

The File was executed by olwm file manager because it had an x bit left over from transport on a msdos filesystem.


Encountered any stupid, embarassing and weird stuff yourself? Send it to me!