Hacker Newsnew | past | comments | ask | show | jobs | submit | orfix's commentslogin

My 2 cents: the cut/grep lines could be replaced by a sed/awk one-liner such as:

sed -n 's/.flagIOCmedalist|\[\[\([^]|]\).*/\1/p'


Agreed. I was a long time abuser of cut, but has moved to relying on sed instead. I find that it's generally a lot more robust if you think through your expressions. For certain cases awk will also do the job. Perl oneliners do seem convenient but that has never been my cup of tea.


It's an old-known vulnerability (2009) used to bypass spam-filters: http://www.mounirorfi.com/blog/2015/02/18/why-vietnam-resolv...


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

Search: