Line counter

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Count lines and print the result (I hope this is not a duplicate)

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

test 123
kitty cat
wooden paw
counter 12345
test test
text text
test text

Sample output:

7

Sample input:_

Single line

Sample output:

1

Sample input:_

Anarchy Golf

This is a golf server. You can enjoy short coding here in several languages (94 languages). The purpose of this server is not serious competition. Joke problems are welcomed and you can speak freely about problems and can release spoilers. For serious competition with ranking, enter Code Golf.

IRC channel for this golf server: #anagol in freenode. Please feel free to join the channel to talk about various things around golf.

Mark Byers kindly prepared a site for this golf server. If you would like to join to add tips, please ask Mark to add you as a collaborator (supposedly, in IRC?).
Active problems

Sample output:

8

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1teebee60.03472012/11/02 06:36:030B / 4B / 2B
2clock60.03572012/11/02 11:57:500B / 4B / 2B
3eban90.03972012/11/01 13:35:450B / 1B / 7B
4kaki90.05602012/11/01 23:19:240B / 1B / 7B

Perl _

RankUserSizeTimeDateStatistics
1teebee90.02362012/11/02 06:41:180B / 6B / 3B
2clock90.01542012/11/02 12:29:560B / 6B / 3B
3tails90.01632012/11/02 21:28:150B / 6B / 3B
4tybalt89120.03652012/11/01 09:43:280B / ?B / ?B
5teebee(nocheat)120.04762012/11/02 16:08:430B / 5B / 7B
6eban130.03982012/11/01 13:39:510B / 6B / 7B
7macik130.03332012/11/03 22:14:520B / ?B / ?B
8smkt170.04242012/11/01 08:12:360B / 10B / 7B
9BioFALSE160.04322012/11/24 17:25:050B / ?B / ?B
10esc120200.03572012/11/04 17:47:570B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1twobit130.06612012/11/01 09:04:250B / 9B / 3B
2hallvabo130.04702012/11/01 17:37:060B / 9B / 3B
3teebee130.06282012/11/02 06:16:170B / 9B / 3B
4clock130.04992012/11/02 12:43:290B / 9B / 3B

PHP _

RankUserSizeTimeDateStatistics
1teebee120.06032012/11/02 06:46:220B / 5B / 7B
2clock120.06892012/11/02 12:44:500B / 5B / 7B

Scheme _

RankUserSizeTimeDateStatistics
1kaki340.10752012/11/01 23:06:230B / 22B / 12B
2dico_leque370.09922012/11/01 23:19:330B / 26B / 9B
3kaki(nai)300.11042012/11/27 05:08:520B / 22B / 7B

Clojure _

RankUserSizeTimeDateStatistics
1teebee162.40382012/11/02 09:32:270B / 10B / 5B
2clock162.63612012/11/03 12:44:320B / 10B / 5B

Io _

RankUserSizeTimeDateStatistics
1pooq390.30832012/11/02 06:30:510B / 35B / 0B
2teebee(alnum)390.21622012/11/03 18:38:560B / 35B / 0B
3clock390.21342012/11/03 18:45:140B / 35B / 0B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee170.07182012/11/02 06:54:400B / 13B / 3B
2clock170.07732012/11/02 13:11:360B / 13B / 3B
3nn340.07562012/11/01 10:50:390B / 21B / 13B

Lua _

RankUserSizeTimeDateStatistics
1teebee290.03372012/11/03 18:31:100B / 19B / 10B
2twobit300.03932012/11/02 05:53:310B / 15B / 15B
3Hendrik320.03242012/11/02 06:03:330B / 19B / 13B

Xtal _

RankUserSizeTimeDateStatistics
1teebee220.06142012/11/03 15:34:410B / 15B / 6B
2pooq(emb)350.06462012/11/03 10:43:430B / 21B / 14B
3pooq390.07452012/11/02 15:07:080B / 24B / 14B

REXX _

RankUserSizeTimeDateStatistics
1teebee130.01152012/11/02 09:04:300B / 10B / 2B
2clock130.01142012/11/02 13:17:580B / 10B / 2B

Prolog _

RankUserSizeTimeDateStatistics
1teebee260.07292012/11/02 09:43:340B / 15B / 11B
2clock260.06992012/11/02 14:01:050B / 15B / 11B

BASIC _

RankUserSizeTimeDateStatistics
1teebee240.05132012/11/03 15:38:290B / 15B / 9B
2pooq340.03232012/11/02 07:38:330B / 17B / 16B

J _

RankUserSizeTimeDateStatistics
1pooq150.12472012/11/02 01:14:350B / 7B / 8B
2Hendrik150.10392012/11/02 02:40:080B / 7B / 8B
3I., S.150.19262012/11/04 06:49:120B / 8B / 7B

K _

RankUserSizeTimeDateStatistics
1twobit70.03222012/11/01 08:53:010B / 3B / 4B
2teebee70.03222012/11/02 04:55:020B / 3B / 4B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer(cheat)20.44032021/04/18 07:07:490B / 2B / 0B
2Erik the Outgolfer100.45152021/04/18 07:33:452B / 5B / 3B

C _

RankUserSizeTimeDateStatistics
1teebee270.00052012/11/02 06:03:320B / 16B / 11B
2tails270.00072012/11/02 22:13:380B / 17B / 10B
3nai330.03202012/11/02 02:21:283B / 18B / 12B
4kaki390.03522012/11/01 23:07:450B / 21B / 18B
5ush420.03182012/11/01 08:46:420B / 23B / 19B
6nn420.03162012/11/01 09:12:190B / 22B / 20B
7inaniwa420.03182012/11/01 23:15:190B / 22B / 20B
8amat430.03172012/11/01 13:48:550B / 25B / 18B
9smkt490.03212012/11/01 10:54:190B / 25B / 24B
10smkt (less robust)460.03172012/11/11 17:10:370B / 26B / 20B

Haskell _

RankUserSizeTimeDateStatistics
1Hendrik310.03772012/11/01 07:46:550B / 27B / 4B
2henkma310.03332012/11/01 08:07:300B / ?B / ?B
3cojna310.04382012/11/01 22:27:450B / 27B / 4B
4kaki310.03472012/11/01 22:58:430B / 27B / 4B
5tttaki310.04582012/11/03 10:52:340B / 27B / 4B

Java _

RankUserSizeTimeDateStatistics
1teebee530.18362012/11/02 11:05:200B / 34B / 18B
2clock530.22162012/11/02 16:33:010B / 34B / 18B

C# _

RankUserSizeTimeDateStatistics
1teebee760.13692012/11/02 05:37:110B / 54B / 18B
2Hendrik780.13382012/11/02 06:01:280B / 53B / 21B

Maxima _

RankUserSizeTimeDateStatistics
1pooq340.26882012/11/02 17:09:520B / 19B / 15B

AWK _

RankUserSizeTimeDateStatistics
1nn130.03322012/11/01 09:13:590B / 10B / 2B
2clock130.04042012/11/01 10:53:060B / 10B / 2B
3eban130.03162012/11/01 13:32:160B / 10B / 2B
4Hendrik130.04452012/11/02 04:36:180B / 10B / 2B
5teebee130.03172012/11/02 04:56:480B / 10B / 2B
6ninjalj130.03342012/11/02 21:41:340B / 10B / 2B

sed _

RankUserSizeTimeDateStatistics
1nn40.03482012/11/01 09:15:340B / 1B / 2B
2clock40.03152012/11/01 10:45:550B / 1B / 2B
3eban40.03882012/11/01 13:30:520B / 1B / 2B
4tails40.03832012/11/01 20:06:080B / 1B / 2B
5kaki40.04352012/11/01 22:56:060B / 1B / 2B
6teebee40.03152012/11/02 04:59:270B / 1B / 2B
7Hendrik40.03162012/11/02 05:39:080B / 1B / 2B
8ninjalj40.03162012/11/02 21:44:380B / 1B / 3B
9ustimaw40.03252015/02/22 16:13:330B / ?B / ?B

jq _

RankUserSizeTimeDateStatistics
1pooq120.03402019/08/05 01:25:010B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1nn80.03532012/11/02 00:59:410B / 5B / 2B
2teebee80.03402012/11/02 07:26:180B / 5B / 2B
3eban90.02992012/11/01 13:47:430B / 4B / 3B
4ninjalj140.01652012/11/02 21:36:160B / 6B / 7B
5tttaki200.02132012/11/03 10:23:340B / 8B / 10B
6taichi3a80.06522017/07/28 10:43:060B / ?B / ?B
7McBusLuck80.02002019/08/05 01:34:580B / 5B / 2B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck230.03202019/08/05 01:36:480B / 13B / 8B

Zsh _

RankUserSizeTimeDateStatistics
1nn80.03752012/11/02 01:00:070B / 5B / 2B
2teebee80.02562012/11/02 07:27:170B / 5B / 2B
3ninjalj140.01892012/11/02 21:39:090B / 6B / 7B

Fish _

RankUserSizeTimeDateStatistics
1teebee80.18412012/11/02 07:27:320B / 5B / 2B

xgawk _

RankUserSizeTimeDateStatistics
1Hendrik130.08992012/11/02 04:37:140B / 10B / 2B
2teebee130.03212012/11/02 04:57:300B / 10B / 2B
3clock130.03802012/11/02 11:23:260B / 10B / 2B
4ninjalj130.04262012/11/02 21:41:440B / 10B / 2B

R _

RankUserSizeTimeDateStatistics
1teebee160.46712012/11/02 08:52:430B / 11B / 5B
2clock160.55522012/11/02 11:21:480B / 11B / 5B
3pooq230.40802012/11/02 08:40:320B / 14B / 9B

Brainfuck _

RankUserSizeTimeDateStatistics
1koropicot580.03632012/12/09 15:29:590B / ?B / ?B

Befunge _

RankUserSizeTimeDateStatistics
1kaki90.03652012/11/01 23:34:510B / 3B / 6B

Aheui _

RankUserSizeTimeDateStatistics
1Puzzlet Chung590.03212015/04/04 22:09:5257B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails30.10392012/11/01 08:03:520B / 1B / 2B
2twobit30.05512012/11/01 08:08:480B / 1B / 2B
3nn30.05772012/11/01 10:44:180B / 1B / 2B
4clock30.05872012/11/01 10:45:350B / 1B / 2B
5kaki30.06112012/11/01 23:16:340B / 1B / 2B
6nooodl30.07132012/11/02 00:41:000B / ?B / ?B
7teebee30.08752012/11/02 05:45:260B / 1B / 2B
8macik30.06202012/11/02 23:24:140B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs20.24452015/04/23 04:51:160B / 0B / 2B

FlogScript _

RankUserSizeTimeDateStatistics
1clock20.44822012/11/01 10:46:130B / 0B / 2B
2teebee20.10432012/11/02 05:08:150B / 0B / 2B

Burlesque _

RankUserSizeTimeDateStatistics
1clock40.05862012/11/01 10:46:330B / 3B / 1B
2Hendrik40.03292012/11/01 15:56:530B / 3B / 1B
3teebee40.04552012/11/02 05:07:000B / 3B / 1B

FerNANDo _

RankUserSizeTimeDateStatistics
1%20390.13062016/03/15 01:17:240B / 20B / 0B

z80 _

RankUserSizeTimeDateStatistics
1McBusLuck130.03262019/08/06 03:50:158B / 3B / 2B

Vim _

RankUserSizeTimeDateStatistics
1teebee100.04692012/11/02 08:14:050B / 6B / 2B
2clock100.04792012/11/02 08:15:430B / 6B / 2B
3ninjalj130.13532012/11/03 00:00:431B / 7B / 3B
4nn150.03852012/11/01 23:01:041B / 9B / 4B
5clock(nn)140.18852012/11/06 14:20:582B / 7B / 4B

Groovy _

RankUserSizeTimeDateStatistics
1teebee232.72902012/11/02 07:24:500B / 17B / 4B
2clock232.78482012/11/02 11:15:220B / 17B / 4B
3nn312.81072012/11/01 09:29:080B / 20B / 11B

Scala _

RankUserSizeTimeDateStatistics
1teebee245.70212012/11/03 03:46:560B / 20B / 4B
2clock245.57422012/11/03 14:10:380B / 20B / 4B

Language Ranking_

RankLangUserSizeScore
1FlogScriptclock210000
2gs2mitchs210000
3JellyErik the Outgolfer(cheat)210000
4GolfScripttails36666
5sednn45000
6Burlesqueclock45000
7Rubyteebee63333
8Ktwobit72857
9Bashnn82500
10Zshnn82500
11Fishteebee82500
12Befungekaki92222
13Perlteebee92222
14Vimteebee102000
15PHPteebee121666
16jqpooq121666
17Pythontwobit131538
18AWKnn131538
19xgawkHendrik131538
20REXXteebee131538
21z80McBusLuck131538
22Jpooq151333
23Rteebee161250
24Clojureteebee161250
25JavaScriptteebee171176
26Xtalteebee22909
27Groovyteebee23869
28Bash (builtins)McBusLuck23869
29Scalateebee24833
30BASICteebee24833
31Prologteebee26769
32Cteebee27740
33Luateebee29689
34Schemekaki(nai)30666
35HaskellHendrik31645
36Maximapooq34588
37Iopooq39512
38FerNANDo%2039512
39Javateebee53377
40Brainfuckkoropicot58344
41AheuiPuzzlet Chung59338
42C#teebee76263

return to the top page