Anonymous user
Text processing/2: Difference between revisions
m
→{{header|zkl}}: update
(→{{header|Go}}: gofmt; validate date field; use bufio.Scanner to simplify and remove long line err; simplify map handling, in particular remove string([]byte(f[0])) as f[0] is already a string) |
m (→{{header|zkl}}: update) |
||
Line 2,415:
datep=date;
if (line.replace("\t"," ").split(" ").filter()[1,*] // blow fields apart, drop date
.pump(Void,
fcn(_,s){ // stop on first problem status and return True
if(s.strip().toInt()<1) T(Void.Stop,True) else False
|