File: sub

package info (click to toggle)
magyarispell 1.2%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,952 kB
  • sloc: sh: 1,032; awk: 404; makefile: 265; sed: 153; lisp: 102
file content (4 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download | duplicates (7)
1
2
3
4
#!/bin/bash
# file1 - file2,  Nmeth Lszl <nemeth@gyorsposta.hu>
# Usage: sub file1 file2 >file3
comm -23 <(sort $1 | uniq) <(sort $2 | uniq)