<commit_before>#!/bin/bash
nom_user=$1
nom_projet=$2
dossier_keys="/home/codshare-itinet/"

### suppression du mail du dev de l'alias ###
sudo grep ^<EMAIL> | sed -i 's/'", <EMAIL>"'//g' /etc/postfix/virtual

### suppression de la key_user.pub dans authorized_keys du compte unix projet
line1=`cat /home/dimitri/authorized_keys | grep -n $nom_user | cut -d : -f 1`
line2=`expr $line1 + 1`
sudo sed -i "$line1,$line2"'d' /home/$nom_projet/.ssh/authorized_keys




	<commit_msg>modif rm_dev_from_proj<commit_after>#!/bin/bash
nom_user=$1
nom_projet=$2
dossier_keys="/home/codshare-itinet/"

### suppression du mail du dev de l'alias ###
sudo grep ^<EMAIL> | sed -i 's/'", <EMAIL>"'//g' /etc/postfix/virtual
### suppression de la key_user.pub dans authorized_keys du compte unix projet
line1=`cat /home/dimitri/authorized_keys | grep -n $nom_user | cut -d : -f 1`
line2=`expr $line1 + 1`
sudo sed -i "$line1,$line2"'d' /home/$nom_projet/.ssh/authorized_keys
{'fraction_non_alphanumeric': 0.16981132075471697, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 4.650887573964497, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6935337', 'n_tokens_mistral': 393, 'n_tokens_neox': 363, 'n_words': 93}