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

Nice tool. I just found that if you have fields separated by arbitrary whitespaces, piping that through xargs trims multiple whitespaces into a single whitespace.

```$ echo "words are far apart" | xargs```

Although, it does have its caveats. https://stackoverflow.com/a/12973694



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: