Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- 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
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5
V[${#V[@]}]="FOO\n"; V[${#V[@]}]="BAR"; V[${#V[@]}]="\nFOO"; print ${V[@]};
-
1 2 3 4 5 6 7 8 9
Function BarkodOlustur1(Bar12Hane:String):String; Var tek_toplam, cift_toplam, tum_toplam, i : Integer; begin tek_toplam := 0; cift_toplam := 0;
...
-
1 2 3 4 5
V[${#V[@]}="FOO\n"; V[${#V[@]}="BAR"; V[${#V[@]}="\nFOO"; print ${V[@]};
-
1 2
#bin/bash/ date
-
1 2 3 4 5 6 7 8 9
Function BarkodOlustur1(Bar12Hane:String ):String; Var tek_toplam, cift_toplam, tum_toplam, i : Integer; begin tek_toplam := 0; cift_toplam := 0;
...
-
1 2
#bin/bash/ date
-
1 2
#bin/bash/ date
-
1 2 3 4 5 6 7 8 9
#!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek G. Gite <vivek@nixcraft.com> # # Latest version can be found at http://www.nixcraft.com/ # # Q1.Script to sum to nos
...
-
1 2 3 4 5
# file sh_1.file # For this program give an input like "This is a test case" i.e. 5 parameters echo we first get the file name echo $0 /* $0 yields this script file name */ echo $#
-
1 2 3 4 5
$a,$b,$c $b-9 $c=1 $a=$b+$c echo $a
-
1 2 3 4 5 6 7 8 9
for (( i = 1; i <= 9; i++ )) ### Outer for loop ### do for (( j = 1 ; j <= 9; j++ )) ### Inner for loop ### do tot=`expr $i + $j` tmp=`expr $tot % 2` if [ $tmp -eq 0 ]; then echo -e -n "\033[47m " else
...
-
1
echo "ankur"
-
1 2
ls -l ping google.com
-
1
ls
-
1 2 3 4 5 6 7 8
tom:~> cat mysystem.sh #!/bin/bash clear printf "This is information provided by mysystem.sh. Program starts now.\n" printf "Hello, $USER.\n\n" printf "Today's date is `date`, this is week `date +"%V"`.\n\n"
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash while true do read line if [ $line -eq 42 ] then exit 0 fi echo $line
-
1 2 3 4 5 6 7 8 9
#!/bin/bash while true do read line if [ $line -eq 42 ] then exit 0 fi echo $line
-
1 2 3 4 5 6 7 8 9
#!/bin/bash while true do read line if [ $line -eq 42 ] then exit 0 fi echo $line
-
1 2
#!/bin/bash ls -ltr
-
1 2
#!/bin/bash mkdir yogesh
-
1 2 3 4 5 6 7 8 9
#!/bin/bash while true do read line if [ $line -eq 42 ] then exit 0 fi echo $line
-
1 2 3
create table tbl(str varchar(20)); insert into tbl values('Hello world!'); select * from tbl;
-
1
#!/bin/bash
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*\\\n//"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*$/N/"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*$N//"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*$N\\n//"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*//"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*$\\n//"
-
1 2
#!/bin/bash echo -e "ligne1 aze\nligne2 aze\nligne3 aze\nligne4 aze\nligne5 aze" | sed "s/ligne2.*$\n//"


