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

This is a little more awk-ish:

awk -F, '$2 == "F" {$0=(($1-32)*5/9)",C"} {print}'



I love awk too but most people don't know much of awk. Better use regular things and keep awk for whenever you absolutely need it.




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

Search: