3 ms·
`comm -1 -3` (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/comm.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/co...) is practicall
by gergoerdi 11y ago
`comm -1 -3` (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/comm.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/co...) is practically made for quickly finding who is a member of all involved groups.
- bgilroy26 11y agoThis is just like SQL joins!
- greggyb 11y agoNope, that would be join.
- bgilroy26 11y agoIndeed you're right. Jonathan Leffler's comment on Stack Overflow discusses the differences --------- There are a couple of differences between comm and join: comm compares whole lines; join compares fields within lines. comm prints whole lines; join can print selected parts of lines. --------- http://stackoverflow.com/questions/7234028/bash-difference-between-join-and-comm http://stackoverflow.com/questions/7234028/bash-difference-b...