-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmorepattern.sh
111 lines (89 loc) · 4.82 KB
/
morepattern.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# sed patterns
# after it will be grep patterns
synth1:
sed 's/modifiez/on a modifié/g' -i $directory_output/$file_output_synth1
sed 's/creez/, on a créé/g' -i $directory_output/$file_output_synth1
sed 's/ajoutez/, on a ajouté/g' -i $directory_output/$file_output_synth1
sed 's/ajouter/, on a ajouté/g' -i $directory_output/$file_output_synth1
sed 's/*/ /g' -i $directory_output/$file_output_synth1
sed 's/réaliser/on a réalisé/g' -i $directory_output/$file_output_synth1
sed 's/aurez/on a/g' -i $directory_output/$file_output_synth1
sed 's/sont bien configurés/on a bien configuré/g' -i $directory_output/$file_output_synth1
sed 's/vous pouvez affichez/on affiché/g' -i $directory_output/$file_output_synth1
sed 's/débranchez2/on a débranché/g' -i $directory_output/$file_output_synth1
sed 's/Importez/on a importé/g' -i $directory_output/$file_output_synth1
sed 's/inspectez/on a inspecté/g' -i $directory_output/$file_output_synth1
sed 's/affichez/on a affiché/g' -i $directory_output/$file_output_synth1
sed 's/visualisez/on a visualisé/g' -i $directory_output/$file_output_synth1
sed 's/afficher/on a affiché/g' -i $directory_output/$file_output_synth1
sed 's/la création/on a créé/g' -i $directory_output/$file_output_synth1
sed 's/Le formater/on a formaté/g' -i $directory_output/$file_output_synth1
sed 's/Le monter/on a monté/g' -i $directory_output/$file_output_synth1
sed 's/démontez/on a démonté/g' -i $directory_output/$file_output_synth1
sed 's/vous on a besoin/on a eu besoin de/g' -i $directory_output/$file_output_synth1
sed 's/Pour cela, on affiché/Pour cela, on a affiché/g' -i $directory_output/$file_output_synth1
Pour cela, on affiché -> Pour cela, on a affiché
vous on a besoin -> on a eu besoin de
réaliser -> on a réalisé
aurez -> on a
sont bien configurés -> on a bien configuré
vous pouvez affichez -> on affiché
débranchez2-> on a débranché
Importez -> on a importé
inspectez -> on a inspecté
affichez -> on a affiché
visualisez -> on a visualisé
afficher -> on a affiché
la création -> on a créé
• Le formater -> on a formaté
• Le monter -> on a monté
démontez -> on a démonté
synth2:
sed 's/modifiez/on a modifié/g' -i $directory_output/$file_output_synth2
sed 's/creez/, on a créé/g' -i $directory_output/$file_output_synth2
sed 's/ajoutez/, on a ajouté/g' -i $directory_output/$file_output_synth2
sed 's/ajouter/, on a ajouté/g' -i $directory_output/$file_output_synth2
sed 's/*/ /g' -i $directory_output/$file_output_synth2
sed 's/nommé/on a nommé/g' -i $directory_output/$file_output_synth2
sed 's/Pour l’instant votre VG est composé/Pour l’instant notre VG est composé de/g' -i $directory_output/$file_output_synth2
sed 's/votre/notre/g' -i $directory_output/$file_output_synth2
sed 's/créer/créé/g' -i $directory_output/$file_output_synth2
sed 's/Configurez/on a configuré/g' -i $directory_output/$file_output_synth2
sed 's/augmentez/on a augmenté/g' -i $directory_output/$file_output_synth2
sed 's/ne le sait pas/on ne le savait pas/g' -i $directory_output/$file_output_synth2
sed 's/Comparez/on a comparé/g' -i $directory_output/$file_output_synth2
sed 's/utiliser/on a utilisé/g' -i $directory_output/$file_output_synth2
sed 's/vous devez étendre/on a étendu/g' -i $directory_output/$file_output_synth2
sed 's/étendre/on a étendu/g' -i $directory_output/$file_output_synth2
sed 's/pour vérifier/on a vérifié/g' -i $directory_output/$file_output_synth2
sed 's/vérifier/on a vérifié/g' -i $directory_output/$file_output_synth2
sed 's/allouer/on a alloué/g' -i $directory_output/$file_output_synth2
sed 's/on a ajouté-lui/on lui a ajouté/g' -i $directory_output/$file_output_synth2
sed 's/enfin créé/on a créé/g' -i $directory_output/$file_output_synth2
sed 's/Le formater/on a formaté/g' -i $directory_output/$file_output_synth2
sed 's/Le monter/on a monté/g' -i $directory_output/$file_output_synth2
sed 's/ensuite un VG nommé vgstockage/ensuite on a nommé un VG en tant que vgstockage/g' -i $directory_output/$file_output_synth2
# sed 's///g' -i $directory_output/$file_output_synth2
ensuite un VG nommé vgstockage -> ensuite on a nommé un VG en tant que vgstockage
nommé -> on a nommé
Pour l’instant votre VG est composé -> Pour l’instant notre VG est composé de
votre -> notre
créer -> créé
enfin créé -> on a créé
Configurez -> on a configuré
augmentez -> on a augmenté
ne le sait pas -> on ne le savait pas
Comparez -> on a comparé
utiliser -> on a utilisé
vous devez étendre -> on a étendu
étendre -> on a étendu
pour vérifier -> on a vérifié
vérifier -> on a vérifié
allouer -> on a alloué
on a ajouté-lui -> on lui a ajouté
------ ++ for more pattern to grep /sed in the future
sait pas -> on sait
vous devez étendre -> on étend
étendre -> on étend
débranchez-> on a débranché
débrancher-> on a débranché