RETAS-Logo
RETAS-Logo
This page is not mobile friendly.
Better watch on bigger screen.

computer/programs/useless/misc/polyglot

# define x u /*      v
# :::::::::::::::::::>>>>>>>$$$a"muroftih"#[>:#,_@]
eval 'echo "hitforum";exit';sub echo { print "@_\n"}
__END__>++++++++++>++++++++++[>+++++++++++>++++++++++
+<<-]>------.+.>++++++.<---.+++++++++.>--.+++
.<--.<<. */
main() { printf ("hitforum\n"); }














This program is a 6 language polyglot: it is valid code in 6 languages.
It prints "hitforum" since it was made for a lecture in the german hitforum.

Select a language: [ C | Shell | Perl | Brainf*** | Befunge | Whitespace ]

The shell evals 'echo "hitforum";exit' and exits.