del_client.sh --delete client1 &del_client.sh --delete client2 &del_client.sh --delete client3 &del_client.sh --delete client4 &When I executed the commands above in the background, client1 was not deleted. del_client.shcode which is called during the operation above:del_client_entry()[cat $FILE |grep -v ^${entry}\. | grep -v ^# ${entry} VT > $FILE.del        cp -p $FILE.del $FILE}
Executing shell script parallelly and in background skips some operation
shell;pipe;background process;lock