|
Here is a sample code that will give u uniq errors in file
===========code============
cat file | cut -d ':' -f1 | sort -u >temp.txt
rm text
touch text
while read line
do
echo $line
grep -h "$line" ars.txt | head -1 >> text
done < amitt
=============================
|