I have two compressed files, with values organized in columns. I need to check the first column in each one, and delete the duplicated values from the first file, and keep it in the second one.Any help would be appreciated ... Thanks 
Remove duplication from two compressed files
bash
You need to put the paths to your files into the script and then run it.Tested the script with these example files: file1.csv:11,012,b14,zfile2.csv:12,a13,b14,cout.csv:11,0del_dup.sh:#!/bin/bashFILE1=./file1.csvFILE2=./file2.csvFILE3=./out.csvIFS=$'\n' for line in $( cat $FILE1 ); do        ID1=$( echo $line | cut -d ',' -f1 )        if [ -z $( cat $FILE2 | grep ^$ID1 ) ]; then                echo $line >> $FILE3        fidone