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

That's a relatively recent invention compared to tools like `wc` (or your favorite `sh` for that matter). See also: https://perldoc.perl.org/functions/chop wherein the norm was "just cut off the last character of the line, it will always be a newline"


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

Search: