fork(23) download
  1. #!/bin/bash
  2.  
  3. parser()
  4. {
  5. sed 's# <s>2</s>##'|grep -Po '(?<=>)[^<]+?(?=(,(?! W)| [-&–5]| ?<| [0-79]\d| ?\((?!E|1\.)))'|head -1
  6. }
  7.  
  8. while read line; do
  9. parser <<< "$line"
  10. done << 'EOF'
  11. <h2>Pyth, <s>40</s> <s>36</s> <s>34</s> 32 bytes</h2>
  12. <h2>Ruby (2.2.2p95), 124 bytes</h2>
  13. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/TeaScript" rel="nofollow">TeaScript</a>, 16 bytes</h1>
  14. <h1>Bash</h1>
  15. <h1>Jelly, 29 bytes</h1>
  16. <h2>Pyth, 17 bytes</h2>
  17. <h1>JavaScript, 131238 - 10 = 131228 bytes</h1>
  18. <h1>Vitsy, 40 bytes</h1>
  19. <h2>Java, 81 bytes</h2>
  20. <h1>Brainf*ck, <s>489</s> 466 characters</h1>
  21. <h2>C# - 158</h2>
  22. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/MATL" rel="nofollow">MATL</a>, 48 bytes</h1>
  23. <h1>JavaScript (ES6), 70</h1>
  24. <h1><a href="https://g...content-available-to-author-only...b.com/cyoce/PlatyPar" rel="nofollow">PlatyPar</a>, 7 bytes</h1>
  25. <h1>Ruby, 263 - 30% = 184 bytes</h1>
  26. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/MATL" rel="nofollow">MATL</a>, 9 <s>14</s> bytes</h1>
  27. <h2>F#, <s>364</s> 288 bytes</h2>
  28. <h2>Seriously, 14 bytes</h2>
  29. <h1><a href="https://r...content-available-to-author-only...t.com/cyoce/detour/master/interp.html" rel="nofollow">Detour</a>, <s>17</s> <s>13</s> 11 bytes</h1>
  30. <h1><a href="https://r...content-available-to-author-only...t.com/cyoce/detour/master/interp.html" rel="nofollow">Detour</a>, <s>10</s> 9 bytes</h1>
  31. <h1>Python 3, 138</h1>
  32. <h2>Seriously, 54 bytes</h2>
  33. <h1>Japt, <s>55</s> <s>49</s> 41 bytes</h1>
  34. <h2>CJam, <s>31</s> 30 bytes</h2>
  35. <h1>Octave, <s>111</s> 110 bytes</h1>
  36. <h1>Python 2, example implementation</h1>
  37. <h2>F#, 33 bytes</h2>
  38. <h1>Jolf, 37 bytes, noncompeting</h1>
  39. <h2>Scala, score: 62</h2>
  40. <h1>Python 2, <s>378</s> 365 Bytes</h1>
  41. <h1>Japt, <s>62</s> <s>60</s> <s>55</s> <s>52</s> 51 bytes</h1>
  42. <h1>Japt, <s>28</s> 25</h1>
  43. <h2>Pyth, <strike>93</strike> 85 bytes</h2>
  44. <h1>Python 3, <s>48</s> 45 bytes</h1>
  45. <h1><a href="http://p...content-available-to-author-only...u.se" rel="nofollow">Pike</a>, 94 bytes</h1>
  46. <h1>Python, <s>212</s> 201 bytes</h1>
  47. <h1>Python 2, 211 bytes</h1>
  48. <h1>Python 2, <s>157</s> 132 bytes</h1>
  49. <h1><a href="http://r...content-available-to-author-only...e.org/wiki/Category:Beeswax" rel="nofollow">beeswax</a>, 31 bytes</h1>
  50. <h3>Java (1.8) - Boqkel'fovru (<s>486 477 465 452 402 396 391 358</s> 354 bytes)</h3>
  51. <h1><a href="http://f...content-available-to-author-only...l.org" rel="nofollow">Falcon</a>, 16 bytes</h1>
  52. <h1><a href="http://p...content-available-to-author-only...u.se/" rel="nofollow">Pike</a>, 35 bytes</h1>
  53. <h1>Python <s>2</s> 3, <s>255</s> <s>204</s> <s>180</s> 178 bytes</h1>
  54. <h1>CoffeeScript, 144 bytes</h1>
  55. <h1>Python 2, <s>235</s> <s>193</s> 167 Bytes</h1>
  56. <h1>Rust, 79</h1>
  57. asic - <h2>Ti-Basic 84, 10 bytes</h2>
  58. <h1>Lua, 87 Bytes</h1>
  59. <h1>Ruby, <s>129</s> <s>126</s> <s>127</s> 126 characters</h1>
  60. <h1>JavaScript (ES6), <s>213</s> 208 bytes</h1>
  61. <h1>R - 81 bytes and 117 bytes</h1>
  62. <h2>Mathematica, <s>36</s> 33 bytes</h2>
  63. <h1>Python 2.7, 282 bytes</h1>
  64. <h1>Python, 109 bytes</h1>
  65. <h2>ES6, <s>178</s> 172 bytes</h2>
  66. <h2><a href="https://g...content-available-to-author-only...b.com/mbuettner/retina" rel="nofollow">Retina</a>, <s>102</s> 85 bytes</h2>
  67. <h2>JavaScript (ES7), 114 bytes</h2>
  68. <h1>Ruby, 99</h1>
  69. <h1>PHP, <s>144</s> <s>130</s> <s>127</s> <s>122</s> <s>121</s> <s>120</s> 119 Bytes</h1>
  70. <h2>Octave, 96 bytes</h2>
  71. <h1>Java, <s>131</s> <s>122</s> 110 bytes</h1>
  72. <h2><a href="https://g...content-available-to-author-only...b.com/Mego/Seriously" rel="nofollow">Seriously</a>, <s>4</s> 3 bytes</h2>
  73. <h1>Java, 219 Bytes</h1>
  74. <h1>JavaScript (ES6), 142 <s>146 147</s></h1>
  75. <h1>C, 259 bytes</h1>
  76. <h1>Haskell, <s>119</s> 104 bytes</h1>
  77. <h1><a href="http://g...content-available-to-author-only...b.com/DennisMitchell/jelly" rel="nofollow">Jelly</a>, non-competing</h1>
  78. <h2>Seriously, 32 bytes</h2>
  79. <h2>Dyalog APL, 18 bytes</h2>
  80. <h2>Python 3, <s>279</s> <s>278</s> <s>272</s> 173 bytes</h2>
  81. <h1>CJam</h1>
  82. <h1>Ruby (2.2.2p95), 277 <s>295 306 331 364</s></h1>
  83. <h1>Julia, <s>22</s> 20 bytes</h1>
  84. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/MATL">MATL</a>, 53 bytes</h1>
  85. <h1>R <s>36</s> 34 bytes</h1>
  86. <h2>Pyth, <s>53</s> <s>48</s> 47 bytes</h2>
  87. <h1>Lua, 80 bytes</h1>
  88. <h1>Retina</h1>
  89. <h2>PHP, 230 bytes</h2>
  90. <h1><strong>Python - <strike>525</strike> <strike>491</strike> <strike>478</strike> 430 bytes</strong></h1>
  91. <h1>Python, 278 characters</h1>
  92. <h1>JavaScript (ES6), 149 bytes</h1>
  93. <h2>Python 2, 107 bytes</h2>
  94. <h1>JavaScript (ES6), 189 bytes:</h1>
  95. <h2>JavaScript ES6, 157 bytes</h2>
  96. <h2>Perl, 248 bytes</h2>
  97. <h1>Pyth, 38 bytes</h1>
  98. <h2>PowerShell v2+, <s>177</s> <s>231</s> 168 bytes</h2>
  99. <h1><a href="https://g...content-available-to-author-only...b.com/Adriandmen/05AB1E" rel="nofollow">05AB1E</a>, 6 bytes</h1>
  100. <h1>Retina, 46 bytes</h1>
  101. <h1>CJam, <s>33</s> 26 bytes</h1>
  102. <h2><a href="https://g...content-available-to-author-only...b.com/mbuettner/retina/" rel="nofollow">Retina</a>, Colopee'pokri, <s>165</s> <s>157</s> <s>143</s> <s>127</s> 123 bytes</h2>
  103. <h2>Pyth, 117 bytes (Kricola'popo)</h2>
  104. <h1>Groovy 45</h1>
  105. <h1>JavaScript, 220 bytes.</h1>
  106. <h1>Groovy 45</h1>
  107. <h1>JavaScript, 220 bytes.</h1>
  108. <h1><a href="http://r...content-available-to-author-only...t.com/cyoce/detour/master/interp.html" rel="nofollow">Detour</a>, 2 bytes</h1>
  109. <h1>JavaScript ES6, 75 bytes</h1>
  110. <h2>Tcl</h2>
  111. <h2>Python 2</h2>
  112. <h1>Java, <s>99.04</s> <s>98.46</s> 97.66 lcs() calls</h1>
  113. <h2>CJam, <s>40</s> 39 bytes</h2>
  114. <h2>Retina, <s>82</s> <s>81</s> <s>77</s> <s>74</s> <s>68</s> 67 bytes</h2>
  115. <h2>Pyth, <strike>18</strike> <strike>16</strike> 10 bytes</h2>
  116. <h1>Pyth, <s>30</s> 28 bytes</h1>
  117. <h1>JavaScript ES6, 54 bytes</h1>
  118. <h2>Powershell - <s>172</s> <s>166</s> 193 bytes</h2>
  119. <h3>sed, <s>136</s> 128 bytes</h3>
  120. <h1>JavaScript (ES6), <s>256</s> <s>244</s> <s>208</s> 187 bytes</h1>
  121. <h1>Japt, <s>90</s> <s>87</s> 86 bytes</h1>
  122. <h1>Mathematica, 80 bytes</h1>
  123. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/MATL" rel="nofollow">MATL</a>, 37 <s>40</s> bytes</h1>
  124. <h1>Mathematica, <s>30</s> <s>24</s> 22 bytes</h1>
  125. <h1>R 29 bytes</h1>
  126. <h1>JavaScript (ES6), <s>108</s> <s>107</s> 106 bytes</h1>
  127. <h1>Matlab, 15</h1>
  128. <h1>JavaScript (ES6) 184 <s>187 195</s></h1>
  129. <h1>Java, <del>183</del> 182 Bytes</h1>
  130. <h1>Python 3, <s>101</s> 106 bytes</h1>
  131. <h2>C, 26 byte source, 2,139,103,367 byte output, valid program</h2>
  132. <h1>Windows Calculator - 5 characters</h1>
  133. <h1><a href="https://g...content-available-to-author-only...b.com/cyoce/PlatyPar" rel="nofollow">PlatyPar</a>, 4 bytes</h1>
  134. <h1>Perl 5 <s>228 205 186 184 178 177 153 150 149 142</s> 137 (136+1 for -E)</h1>
  135. ASIC - <h1>TI-BASIC, <s>59</s> <s>57</s> <s>50</s> <s>37</s> 36 bytes</h1>
  136. <h1>π”Όπ•Šπ•„π•šπ•Ÿ, 12 chars / 22 bytes</h1>
  137. <h2>Haskell, 29 bytes</h2>
  138. <h1>Python, <s>97</s> 95 bytes</h1>
  139. <h1>JavaScript (ES6), 354 bytes (231 characters)</h1>
  140. ay - <h2><a href="https://g...content-available-to-author-only...b.com/mannymang/A-Ray" rel="nofollow">A-Ray</a>, <s>9</s> 7 bytes</h2>
  141. <h1>Python 3, <s>187</s> <s>180</s> <s>173</s> 154 bytes</h1>
  142. <h1>MATLAB, 167 bytes/characters:</h1>
  143. <h1><a href="http://s...content-available-to-author-only...b.io/TrumpScript/" rel="nofollow">TrumpScript</a>, 37 bytes</h1>
  144. <h1>Pure Bash, 7</h1>
  145. <h1>Ruby, <s>69</s> 65</h1>
  146. <h1>C, (14 + 15) = 29 byte source, 17,179,875,837 (16 GB) byte executable</h1>
  147. <h1>R - 39</h1>
  148. <h1>C, 123 bytes</h1>
  149. <h1>Japt, 38 bytes</h1>
  150. <h2><a href="http://c...content-available-to-author-only...e.com/a/62493/16766">Acc!!</a>, 122 bytes</h2>
  151. <h1>bc, 75 bytes</h1>
  152. <h1>PHP <strike>405</strike> 325</h1>
  153. <h1>PHP – 3302 bytes</h1>
  154. <p><strong>JavaScript, <s>266</s> <s>263</s> 244 bytes</strong></p>
  155. <p><strong>AWK - 140 bytes</strong></p>
  156. <h1><a href="https://g...content-available-to-author-only...b.com/mbuettner/retina" rel="nofollow">Retina</a>, 50 bytes, <s>71.8%</s> 72.15%</h1>
  157. <h2>PowerShell, 40 Bytes</h2>
  158. <h1>Ruby, 85 characters</h1>
  159. <h1>brainfuck, 52 bytes</h1>
  160. <h2><a href="https://g...content-available-to-author-only...b.com/mbuettner/retina">Retina</a>, 44 bytes</h2>
  161. <h1>Python 2, <s>154</s> 147 bytes</h1>
  162. <h1>Haskell, <s>111</s> 109 bytes</h1>
  163. <h2>CJam, 10 bytes</h2>
  164. <h1>JavaScript ES6, 36 bytes</h1>
  165. <h1>Japt, 13 bytes</h1>
  166. <h2>Haskell, <s>160</s> 157 bytes</h2>
  167. <h1>Python 3, 39 bytes.</h1>
  168. <h1>Ruby, 35 bytes</h1>
  169. <h1>Pyth, <s>46</s> <s>44</s> <s>43</s> <s>42</s> <s>39</s> 35 bytes</h1>
  170. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/MATL" rel="nofollow">MATL</a>, 48 <s>49<s> <s>50</s> 53</s> 56</s> bytes</h1>
  171. <h2>Python 2 &amp; PuLP β€” 2,644,688 squares (optimally minimized); 10,753,553 squares (optimally maximized)</h2>
  172. <h1>OCaml, 1588 (n = 36)</h1>
  173. <b>Python 2</b>
  174. <h1><a href="http://e...content-available-to-author-only...s.org/wiki/Help,_WarDoq%21">Help, WarDoq!</a>, 1 byte</h1>
  175. <h1>JavaScript 2688!!</h1>
  176. <h1>Haskell (50 characters)</h1>
  177. <h1>HTML + CSS <del>118</del> <del>78</del> <del>77</del> 75 characters</h1>
  178. <h1>Python 2 (29)</h1>
  179. <strong>HQ9+ (1 character)</strong>
  180. rowser JavaScript - <h2>Cross-browser JavaScript (41 characters)</h2>
  181. <h2>PHP - 54 characters (no cheating)</h2>
  182. <h1><a href="http://e...content-available-to-author-only...s.org/wiki/Fish">Fish</a> - 8 chars</h1>
  183. <strong>Clojure - 1 char (cheating!) or 91 chars</strong>
  184. <h2>(ucb)logo - 28 chars</h2>
  185. <h2>Erlang escript <strike>225</strike> <strike>164</strike> 140</h2>
  186. asic 83 - <h2>Ti-Basic 84, 1</h2>
  187. <h2><a href="http://e...content-available-to-author-only...s.org/wiki/Chicken">Chicken</a>, 7</h2>
  188. <h1>cat, 0 - ∞ characters</h1>
  189. <h1><a href="http://s...content-available-to-author-only...r.no/zozotez/" rel="nofollow">Zozotez Lisp</a>: 73</h1>
  190. <h1>J - 20 (16?) char</h1>
  191. <strong>Raw .exe, 247 bytes</strong>
  192. <h1><a href="https://e...content-available-to-author-only...s.org/wiki/QuinePig" rel="nofollow">QuinePig</a>, 3 Bytes (made after the challenge)</h1>
  193. <h1><a href="http://m...content-available-to-author-only...e.com/a/7390/41247">ΰ² _ΰ² </a>,</h1>
  194. <strong>JavaScript (291 characters):</strong>
  195. <h2>Haskell, <strike>272</strike>, <strike>250</strike>, 243 characters</h2>
  196. EOF
Success #stdin #stdout 0.14s 5120KB
stdin
Standard input is empty
stdout
Pyth
Ruby
TeaScript
Bash
Jelly
Pyth
JavaScript
Vitsy
Java
Brainf*ck
C#
MATL
JavaScript (ES6)
PlatyPar
Ruby
MATL
F#
Seriously
Detour
Detour
Python 3
Seriously
Japt
CJam
Octave
Python 2
F#
Jolf
Scala
Python 2
Japt
Japt
Pyth
Python 3
Pike
Python
Python 2
Python 2
beeswax
Java (1.8)
Falcon
Pike
Python 3
CoffeeScript
Python 2
Rust
Ti-Basic 84
Lua
Ruby
JavaScript (ES6)
R
Mathematica
Python 2.7
Python
ES6
Retina
JavaScript (ES7)
Ruby
PHP
Octave
Java
Seriously
Java
JavaScript (ES6)
C
Haskell
Jelly
Seriously
Dyalog APL
Python 3
CJam
Ruby
Julia
MATL
R
Pyth
Lua
Retina
PHP
Python
Python
JavaScript (ES6)
Python 2
JavaScript (ES6)
JavaScript ES6
Perl
Pyth
PowerShell v2+
05AB1E
Retina
CJam
Retina
Pyth
Groovy
JavaScript
Groovy
JavaScript
Detour
JavaScript ES6
Tcl
Python 2
Java
CJam
Retina
Pyth
Pyth
JavaScript ES6
Powershell
sed
JavaScript (ES6)
Japt
Mathematica
MATL
Mathematica
R
JavaScript (ES6)
Matlab
JavaScript (ES6)
Java
Python 3
C
Windows Calculator
PlatyPar
Perl
TI-BASIC
π”Όπ•Šπ•„π•šπ•Ÿ
Haskell
Python
JavaScript (ES6)
A-Ray
Python 3
MATLAB
TrumpScript
Pure Bash
Ruby
C
R
C
Japt
Acc!!
bc
PHP
PHP
JavaScript
AWK
Retina
PowerShell
Ruby
brainfuck
Retina
Python 2
Haskell
CJam
JavaScript ES6
Japt
Haskell
Python 3
Ruby
Pyth
MATL
Python 2
OCaml
Python 2
Help, WarDoq!
JavaScript
Haskell
HTML + CSS
Python 2
HQ9+
Cross-browser JavaScript
PHP
Fish
Clojure
(ucb)logo
Erlang escript
Ti-Basic 84
Chicken
cat
Zozotez Lisp
J
Raw .exe
QuinePig
ΰ² _ΰ² 
JavaScript
Haskell