Hacker News new | ask | show | jobs
by rascul 1225 days ago
sort also has -u, so there's two unnecessary pipes. The whole thing could be written:

  grep lasagna beef.txt | sort -u
Some people add extra pipes and cat for what they claim is readability. I don't agree that cat and extra pipes is more readable, but to each their own.