CV: Hide phone and address with sed
This commit is contained in:
parent
ce75e4b268
commit
c1b3d75510
2 changed files with 8 additions and 3 deletions
|
@ -16,6 +16,11 @@ diff ~/src/html-cv/data/git-icon.png ./cv/data/git-icon.png >/dev/null 2>&1 || u
|
|||
diff -r ~/src/html-cv/css ./cv/css >/dev/null 2>&1 || updated=true
|
||||
|
||||
cp ~/src/html-cv/out.html ./cv/index.html
|
||||
# Hide phone number
|
||||
sed -i -E 's/\+33 6( [0-9]{2}){4}/[téléphone caché]/' ./cv/index.html
|
||||
# Hide address
|
||||
sed -i -E 's/[0-9]{2,3} (rue|avenue|av\.?|boulevard|bld|place|pl\.?) [a-zA-Z ]+/[adresse cachée]/' ./cv/index.html
|
||||
sed -i -E 's/[0-9]{5} [a-zA-Z]+/[code postal et ville cachés]/' ./cv/index.html
|
||||
cp ~/src/html-cv/data/cv-photo ./cv/data/cv-photo
|
||||
cp ~/src/html-cv/data/internet-icon.png ./cv/data/internet-icon.png
|
||||
cp ~/src/html-cv/data/git-icon.png ./cv/data/git-icon.png
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
</div>
|
||||
<div class="contact">
|
||||
<p>Né le 10/11/1991</p>
|
||||
<p>+33 6 10 59 32 22</p>
|
||||
<p>15 rue Michel Lecomte</p>
|
||||
<p>75003 Paris</p>
|
||||
<p>[téléphone caché]</p>
|
||||
<p>[adresse cachée]</p>
|
||||
<p>[code postal et ville cachés]</p>
|
||||
<p>tfranken(at)protonmail.com</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue