annegerben / oversight

Automatically exported from code.google.com/p/oversight
0 stars 1 forks source link

Scanning freezes with Mission Impossible #662

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems when reading the html text for imdb top 250 awk does not detect EOF.

getline returns 1 until EOF then blocks.

A small standalone script using cut-n-pasted code works OK. (final read getline 
= 0)

but fails in context of large script.
RS verified as "\n"
Same input text for both scripts.

gawk 3.1.7 on NMT100 - will test on C200 when it comes online.

Original issue reported on code.google.com by a...@lordy.org.uk on 30 Apr 2012 at 1:01

GoogleCodeExporter commented 8 years ago
Fixed - think pipe to iconv was causing the issue. Weverted to intermediate 
file.

Original comment by a...@lordy.org.uk on 1 May 2012 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by a...@lordy.org.uk on 1 May 2012 at 11:03