Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ Challenge [Extremely Easy]

Name: Anonymous 2008-04-26 19:39

Create a program that gives this as its output: http://pastebin.ca/998836

Name: Anonymous 2008-05-04 4:01

Anyway, fixed:


v> "RRRRRRUD" v
0
_^


@   ,,,,,,,,  <

Name: Anonymous 2008-05-04 4:46


a'R5k:"UD"8k,@


Befunge-98.

Name: Anonymous 2008-05-04 4:47

Sorry, that should have been 9k,@ not 8k,@.

Name: Anonymous 2009-03-06 9:52


/vaw.

Name: Anonymous 2010-06-03 15:15

>>2
* module Durr
    where

import Char hiding ()
import List hiding ()
import IO

--call all functions necessary to print the string
main = do
    durr

--the actual print function
durr = putStrLn "DURRRRRR"

Name: Anonymous 2010-06-03 16:27

Name: Anonymous 2010-06-03 16:53

#!/usr/bin/perl
print "sussman";

i cant do it, sorry /prog/.

Name: Anonymous 2010-06-03 18:26

>>87
$ perl -e '#!/usr/bin/perl
print "sussman";

i cant do it, sorry /prog/.'
syntax error at -e line 6, near "/."
Execution of -e aborted due to compilation errors.


Congratulations, you've managed to write the first invalid bit of Perl code in history.

Name: Anonymous 2010-06-03 18:28

>sussman
>busman

Name: Anonymous 2010-06-03 19:05

grep -o DURRRRRR /dev/urandom

I'm too expert for my shirt.

Name: Anonymous 2010-06-03 19:18


printf "HAX MY ANUS";

Name: Anonymous 2010-06-03 19:21

Private Sub Form_Load()
MsgBox "Durrrrr"
End Sub

It even pops up in a message box for you.

Name: Anonymous 2010-06-03 19:22

public class HerpDerp
{
   public static void main(String[] args)
   {
      System.io.println("DURRRRRR");
   }
}

Name: Anonymous 2010-06-03 19:35


#!/bin/cat
DURRRRRR

Name: Anonymous 2010-06-03 19:55

#!/usr/bin/env python

import webbrowser
webbrowser.open("http://pastebin.ca/998836")

Name: Anonymous 2010-06-03 21:50

so far, no one in this thread has met >>1's meager requirements.

#include <stdio.h>

int main(int argc, char **argv) {
    printf("http://pastebin.ca/998836\n");
    return 0;
}

Name: Anonymous 2010-06-04 2:00

>>40
Ook-ook threatens to sue Arizona over the Immigration law, with Mexishit President at his side.
http://www.f2bb.com/bbs/show_topic/238333

Name: Anonymous 2010-06-04 2:19

So is >>96 thinking outside the box, or from stubbornly within it?

Name: Anonymous 2010-06-04 2:24

#!/bin/cat
this

Name: Anonymous 2010-06-04 2:47

>>70
PLOLOG

Name: Anonymous 2010-06-04 4:55

>>99
Your cleaver!

Name: Anonymous 2010-06-04 9:52

>>94,99
That has the undesired effect of outputting "#!/bin/cat" first.

#!/bin/sed 1d
DURRRRRR

Name: Anonymous 2010-06-04 9:58

#!/bin/tail -1
DURRRRRR

Name: Anonymous 2010-06-04 10:03

http://yourworldoftext.com/prog - Hang out or go on a great journey to the edges of the known universe today!

Name: Anonymous 2010-06-04 10:31

Here's my solution in Grass the grass-planting programming language[1]:

create the function λf x.f (f x):
    wwWWwWWWwv
   
create 2-, 4-, 8-, 16-, 32-, 64- and 128-fold iterated successor functions:
    WwwwWWwWWWwWWWWwWWWWWwWWWWWWwWWWWWWWw
   
apply iterated successors to the default character 0x77 to obtain 0x44 ("D"):
    WwwwwwwwwwwwWWWwWWWWWWWwWWWWWWWWWwWWWWWWWWWWWWWWw
   
print the "D":
    WWWWWWWWWWWWWWw

apply iterated successors to "D" to obtain 0x55 ("U"):
    WWWWWWWWWWwWWWWWWWWWWWWWWWWWw
   
print the "U":
    WWWWWWWWWWWWWWWWWw
   
apply iterated successors to "U" to obtain 0x52 ("R"):
    WWWWWWWWWWwWWWWWWWWWWWWwWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWwWWWWW
    WWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWw

finally, print the "R" six times:   
    WWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWW
    WWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWW
    WWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWw


References:
[1] http://www.blue.sky.or.jp/grass/

Name: Anonymous 2010-06-04 10:32


#!/usr/bin/grep -v '#'
DURRRRRR

Name: Anonymous 2010-06-04 10:39

>>105
how do i mow lawn???

Name: Anonymous 2010-06-04 10:43

>>107
Don't, you'll break the program!

Name: Anonymous 2010-06-04 11:51

>>106
Have you even tried that?

(Hint: it won't work, and you have at least three problems.)

Name: Anonymous 2010-06-04 12:07

>>106
U MENA -d

Name: Anonymous 2010-06-04 14:24

>>106
Make that work and change the pattern to '^#' and then I will like it.

Name: Anonymous 2010-06-04 15:55

>>106,110,111

1. grep might be in one of several different places depending on OS; on many Linux distros, for example, it's ordinarily in /bin so that just won't work at all.
2. Disregarding that and fixing the location as appropriate, hashbangs normally only can take one single argument. So what happens is you get argv = {"grep", "-v '#'"} and it complains about invalid options.
3. Even if you could have multiple arguments, exec is not /bin/sh and thus does not follow its quoting rules, so you would end up with the single quotes in the argument list, and so it would still print every line.
4. Pedantically, there's a blank line at the start of your post.

A way to do this that actually functions might be:
#!/bin/grep ^[^#]
DURRRRRR

Name: Anonymous 2010-06-04 18:07

>>2,85

durr = putStrLn . (++) "DU" .  take 6 .  cycle $ "R"

Name: Anonymous 2010-06-04 18:14

>>112
>>106-kun here. It works on my mac where I wrote. Everything just works lolollolol

Name: Anonymous 2010-12-26 23:28

Name: Sgt.Kabukiman䖉 2012-05-22 23:28

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List