if [ ![-e recommendations_new.txt ] ]
then
touch recommendations_new.txt
fi
grep -E "^([0-9]{1,11})\,([0-9]{1,11})\,(.*)" recommendations.txt | while read line
do
echo $line >> recommendations_new.txt
done
if [ ![-e recommendations_new.txt ] ]
then
touch recommendations_new.txt
fi
grep -E "^([0-9]{1,11})\,([0-9]{1,11})\,(.*)" recommendations.txt | while read line
do
echo $line >> recommendations_new.txt
done