Hier die 2 Files:
stuff.csv:1, a, joe@example.com , e2, b, jim@example.com , f3, c, sally@example.com, g4, d, joe@example.com , h
Hier das Kommando:nostuff.csv3, c, sally@example.com, g
for i in $(
comm -23
<( cut -f 3 -d , stuff.csv
| sort -i
| uniq -i )
<(cut -f 3 -d , nostuff.csv
| sort -i
| uniq -i ))> do> grep -f -i "$i" stuff.csf | head -n 1> done
0 Comments:
Post a Comment