News for hackers. Stuff that matters.
Re:Unix: When pipes get names by dllthomas on Tuesday October 08, 2013 @08:18PM (#6518749)
It works fine.

The advantage to

    cat foo | sort | uniq -u
is that it is (marginally) easier to drop in another filter in front of sort.
Re:Unix: When pipes get names by knz42 on Wednesday October 09, 2013 @02:52AM (#6519776)
This argument is less strong in the face of:

  <foo  sort | uniq -u
(redirections can be at the beginning too.)

Also: sort -u instead of sort|uniq.

Re:Unix: When pipes get names by dllthomas on Wednesday October 09, 2013 @11:04AM (#6521651)
It's still a reason to disprefer the form that was given. I don't see any reason to prefer the cat version over yours, except habits, though. That said, there's only weak reason to avoid the cat.
Re:Unix: When pipes get names by jl6 on Wednesday October 09, 2013 @12:42PM (#6522307)
It is also simpler, in the sense that it presents a left-to-right order that visually illustrates the pipeline, without the incongruous left-facing angle bracket.