Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And the same code as hex-encoded above but with various missing characters, etc., introduced by the posting system.

wget -qO - http://news.ycombinator.com/leaders |

tr '"' '\n\n' |

sed -n 's/^user?id=//p' |

xargs -ri wget -qO - 'http://news.ycombinator.com/submitted?id={}' |

tr '' '\n' |

sed -n 's/^\([0-9][0-9]\) points by .=\(.\).$/\2 \1/p' |

awk '{c[$1]++; s[$1] += $2} END {for (n in c) printf "%-20s %5d %5d %7.2f\n", n, c[n], s[n], s[n] / c[n]}' |

sort +3nr

Cheers, Ralph.



Hmm. It seems some italic text slipped in there. What other mark-up works? _Software Tools_ is an excellent book. The /leaning/ /tower/ of /Pisa/. Disappearing: lt= amp=& star= (becomes italic) question=? hash=#. Recognised: ralph@inputplus.co.uk http://google.com/ Breaking lines: abc\ def\ ghi. Nope, how about abc\c def\c ghi. abc \ def \ ghi?


defiantly there needs to be some sort of markup. pasting code (especially python) ~ see guido there is an instance where python and whitespace fails.


I've added a post in the "improvements" thread. Please vote up if you think it's useful.

http://news.ycombinator.com/comments?id=13271

Cheers, Ralph.


https://sourceforge.net/index.php ftp://ftp.freebsd.org/pub/FreeBSD/

Neither are turned into links.

&gt;=> &lt;=< &amp;=&




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: