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

I assume he meant:

  $ < some-file.txt ws -l
(without the pipe). '<' works at the beginning of the command just as well as it works at the end, meaning you can basically do:

  s/^cat \(.*\)|/\<\1


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: