setop

  230 downloads
0.2 BSD License    
  not rated
Line-wise set operations on files

description

download

specifications

changelog

setop is a tool that will make line-wise union, intersection, difference, or Cartesian product of files and print it to stdout.

Example

Users who don't have /bin/bash as their terminal (grep -v simulation):

 grep "/bin/bash" /etc/passwd | setop -d /etc/passwd - | cut -d: -f1

This is equivalent to:

 grep -v "/bin/bash" /etc/passwd | sort | cut -d: -f1
READ MORE   
Last updated on May 15th, 2012

0 User reviews so far.

SUBMIT