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

Yeah, I misremembered. Here's an example, using "-n 1" so each split "thing" is passed to separate processes:

  $ printf "one two three\nfour five\n" | xargs -n 1 echo
  one
  two
  three
  four
  five


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

Search: