Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4 5 6 7
BEGIN { FS = "\t" } { print $1, $2 }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
public interface Constants { /** * United Kingdom id. */ static final String UK = "UK"; }
-
1 2 3 4 5 6 7 8
BEGIN { print("Hello") } /#/ { print("comment:" $0); }
...
-
1 2 3 4 5 6 7 8
BEGIN { print("Hello") } /#/ { print("comment:" $0); }
...
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7 8 9
importPackage(java.io); importPackage(java.lang); var reader = new BufferedReader( new InputStreamReader(System['in']) ); while (true){ var line = reader.readLine(); if (line==null || line=="42") { break;
...
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5
# Hello World in awk BEGIN { print "Hello World!" exit }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1
<?php echo "dsds";?>
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n hello", num); }
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int i=0,j=2,k,t,a,b,n; scanf("%d\n",&n); while(i<n) { scanf("%d%d",&a,&b); star:
...
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> int main() { int i=0,j=2,k,t,a,b,n; scanf("%d\n",&n); while(i<n) { scanf("%d%d",&a,&b); star:
...
-
1
{ print $0 }
-
1
{ print $0 }
-
1
printf('Hello, world')
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1
cal
-
1
cal |gawk '/august/{print}'
-
1
cal |awk '/august/{print}'
-
1
calc |awk '\wednesday\{print}'
-
1 2 3 4 5 6 7
{ num = $1; if(num == 42) exit; else printf("%d\n", num); }
-
1 2 3
begin { print "test" }
