Hacker News new | past | comments | ask | show | jobs | submit login

Is it really so awful to do "grep -o '\b\w+%'"? It still won't handle extra space padding at the end of the line, but it's still a lot less ugly than assuming the word after the first space is a last name.



In the context of trying to teach people basics, yes, I would argue that is quite awful.


Weird, not sure why it did % instead of $ there.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: