0
\$\begingroup\$

This question already has an answer here:

ltl, ftp

Prelude

I'm pretty sure you've seen a ton of Hello World challenges before...
So I've created this simple twist...

Challenge

Golf me a simple program that:

  • Takes any amount of ASCII characters for input (input can be null).
  • Displays "Hello World!".
  • On another line dumps the characters to screen.

For example:
Input:

I love cats!

Output:

Hello World!
I love cats!

Rules:

This is , shortest byte count wins!

\$\endgroup\$

marked as duplicate by DJMcMayhem code-golf Dec 15 '16 at 22:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    \$\begingroup\$ I don't think this is sufficiently different from the Hello world challenge. It's pretty much a duplicate of that one mixed with the cat challenge \$\endgroup\$ – DJMcMayhem Dec 15 '16 at 22:35
  • \$\begingroup\$ @DJMcMayhem : It could be similiar, but it's got it's own twist (and twists were allowed before). \$\endgroup\$ – n4melyh4xor Dec 15 '16 at 22:38
  • 3
    \$\begingroup\$ I personally would close this as a dupe of "emulate the cat command", but this works too. \$\endgroup\$ – Rɪᴋᴇʀ Dec 15 '16 at 22:45
  • \$\begingroup\$ I will try to explain a little better. Both the primary challenge, as well as the added twist, are duplicates of existing challenges. Unless you combine the two challenges in a non-trivial way, the resulting combination challenge is still a duplicate. \$\endgroup\$ – Rainbolt Dec 16 '16 at 17:03
  • \$\begingroup\$ Just wanted to say: Batch, 39 Bytes. @set/pm=&&echo Hello, World!\n @echo %m% \$\endgroup\$ – cascading-style Dec 16 '16 at 23:48