!/bin/bash
cp remaining_for_clearing.manifest_bak remaining_for_clearing.manifest
cat s2l2-standalone.manifest |awk -F "|" '{print $1 "|" $2}' > S2L2.txt
cat s2l2-standalone.manifest |awk -F "|" '{print $3 "|" $4}' >> S2L2.txt
S2L2=cat S2L2.txt
for i in $S2L2
do
cat remaining_for_clearing.manifest| grep "$i" >> b.txt
done
grep -v -f b.txt remaining_for_clearing.manifest > a.txt
rm -f b.txt S2L2.txt