Hacker News new | ask | show | jobs
by Someone 2112 days ago
I’m not sure. In shell, I think

  makejunk | grep foo | tail -4 > fourthings
is more popular than

  > fourthings makejunk | grep foo | tail -4
Having said that, I don’t understand why you would add this, but then, I don’t understand the popularity of ruby or other languages that think adding alternative ways to do things most of the time is a good thing.
1 comments

In shell outside of file manipulation,

  fourthings=$(makejunk | grep foo | tail -4)