Y
Hacker News
new
|
ask
|
show
|
jobs
by
nachi
4641 days ago
It looks like an ASCII-formatted table. Pretty disappointing that it isn't machine readable out of the box.
2 comments
timthorn
4641 days ago
What's not machine readable about an ASCII table? A fixed width table has its own advantages over eg CSV - for instance, to read a specific field you can reach it by offset rather than having to count delimiters.
link
cwmma
4641 days ago
fixed width might have technical advantages but CSV has the advantage of being able to be read by a lot of things out of the box.
link
timthorn
4641 days ago
So does fixed width. Excel, MySQL, R, Perl... :)
link
aw3c2
4641 days ago
sed 's/[[:blank:]]//g' dataset.dat | sed 's/|/\t/'
link