I read a text file with names in it. When some conditions are true, I remove the name (a whole line) from the list, with
grep -v $var $list.txt > $list.tmp; mv $list.tmp $list.txt
But I have multiple scripts doing the same thing on the same list, but at different positions. Can it be harmful if two scripts try to edit a line at the same time ? Do I have to add something ? Cheers