-9
0
Your Task
Write a program using ASCII characters. Five alphanumeric (0-9, A-Z, a-z) characters will be inserted at random into your program's source code. Your task is to detect and output these characters inserted into your program.
Conditions
- Your code cannot use any form of backup file.
- Your code may produce any unnecessary error messages, provided these are distinguishable from the actual output.
- The output may be on the screen or into a file.
- The output may also contain unnecessary characters, but no extra alphanumeric characters (excluding error messages).
Winning
The post with the largest vote count wins.
7I'm confused about why the folder is relevant. Is this challenge the same as "Write a string so that when any five character are added in arbitrary positions, and the result is run as code, it prints those characters"? – xnor – 2015-11-10T09:31:08.193
2
Hahaha. I hope this post doesn't get investigated for unintentional obscene language. I understand the word http://urbandictionary.com/define.php?term=bugger isn't used much in the USA. It was the line before "conditions" that made me LOL
– Level River St – 2015-11-10T10:05:53.260@xnor Yes, it is the same. I just wanted to say that the file cannot access a backup of itself. – ghosts_in_the_code – 2015-11-10T11:09:37.480
@steveverrill It was unintentional. I've edited. – ghosts_in_the_code – 2015-11-10T11:09:54.097
@wizzwizz4, are you sure that your edit is not an other question?
– Qwertiy – 2015-12-15T20:28:29.940@Qwertiy I've rewritten it completely, but I'm pretty sure it's the same question. The same answers would fit it. If you cross reference, you will find the same info (except the stuff about the program that does the code-modification!) – wizzwizz4 – 2015-12-15T21:48:09.880