setop

0.2 BSD License    
  UNRATED

  230 downloads

Line-wise set operations on files

description

download

specs

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

#line-wise union #line-wise intersection #line-wise difference #line-wise #union #intersection #difference

0 User reviews so far.

SUBMIT