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


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

Search: