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. fourthings=$(makejunk | grep foo | tail -4)