Text processing/1: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: gofmt; simplify error handling; use bufio.Scanner to simplify and remove long line error; use a func literal to reset badRun instead of repeating code (although it was only 4 lines))
(Nimrod -> Nim)
Line 1,840: Line 1,840:
Maximum run(s) of 589 consecutive false readings ends at line starting with date(s):{1993-03-05}</pre>
Maximum run(s) of 589 consecutive false readings ends at line starting with date(s):{1993-03-05}</pre>


=={{header|Nimrod}}==
=={{header|Nim}}==
{{trans|Python}}
{{trans|Python}}
<lang nimrod>import os, strutils, sequtils
<lang nim>import os, strutils, sequtils


var
var