Text processing/2: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Remove less idiomatic version, adjust verbiage to match, update output) |
(→{{header|Kotlin}}: Re-ran program following recovery and mirroring of full data file.) |
||
Line 1,512: | Line 1,512: | ||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |
||
⚫ | |||
As the link to the full data file is now broken, I've had to confine myself to the 6 lines shown in the task description for testing purposes. |
|||
⚫ | |||
import java.io.File |
import java.io.File |
||
Line 1,561: | Line 1,560: | ||
Duplicated dates: |
Duplicated dates: |
||
1990-03-25 (2 times) |
|||
1991-03-31 (2 times) |
1991-03-31 (2 times) |
||
1992-03-29 (2 times) |
|||
1993-03-28 (2 times) |
|||
1995-03-26 (2 times) |
|||
Total number of records : |
Total number of records : 5471 |
||
Number of invalid records : 0 ( 0.00%) |
Number of invalid records : 0 ( 0.00%) |
||
Number which are all good : |
Number which are all good : 5017 (91.70%) |
||
</pre> |
</pre> |
||