intersect_files function has been improved

This commit is contained in:
Sameer Rahmani 2018-02-23 11:06:54 +00:00
parent 498e65f525
commit 65636c239f
1 changed files with 1 additions and 1 deletions

View File

@ -8,5 +8,5 @@ pid_for() {
}
intersect_files() {
comm -23 <(cat $1) <(cat $2)
comm -23 <(sort $1) <(sort $2)
}