Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes |
start [2019/07/09 12:12] – tierce | start [2019/07/09 12:35] – tierce |
---|
====== Pour remplacer des trucs de Wiki.js ====== | ====== Pour remplacer des trucs de Wiki.js ====== |
| |
| sed -i.bak2 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' cube.txt |
| sed -i.bak2 's/<!-- SUBTITLE: \([^>]*\) -->/===== \1 =====/g' cube.txt |
| |
| Suite à la conversation : |
| |
<code> | <code> |
<tierce> hello how to search for <!-- TITLE: and replace with ====== using sed ? | <tierce> hello how to search for <!-- TITLE: and replace with ====== using sed ? |
<shbot> Riviera: ================== | <shbot> Riviera: ================== |
<tierce> thank you ! | <tierce> thank you ! |
<tierce> is it possible to replace <!-- TITLE: some title --> by ====== some title ====== using sed ? | <tierce> is it possible to replace ====== some title ====== by ====== some title ====== using sed ? |
<Riviera> That would be | <Riviera> That would be |
<Riviera> <!-- TITLE: ... until the end of the line? | <Riviera> <!-- TITLE: ... until the end of the line? |
<Riviera> well hm, since you are not looking for a robust solution anyway, | <Riviera> well hm, since you are not looking for a robust solution anyway, |
<Riviera> perhaps this would suffice for your current situation: | <Riviera> perhaps this would suffice for your current situation: |
<Riviera> # echo '<!-- something --><!-- TITLE: some title --><!-- something -->' | sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' | <Riviera> # echo '<!-- something -->====== some title ======<!-- something -->' | sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' |
<shbot> Riviera: <!-- something -->====== some title ======<!-- something --> | <shbot> Riviera: <!-- something -->====== some title ======<!-- something --> |
<Riviera> sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' | <Riviera> sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' |
| |
**Do not hesitate to [contact](contact) us or to come in a meeting** | **Do not hesitate to [contact](contact) us or to come in a meeting** |
# Français | |
[Neutrinet asbl](https://neutrinet.be/fr/apropos) est organisées en **hubs** *(groupes de travail, cercles, équipe,...). | |
| |
* [hub admin](administration) | |
* [hub comm](communication) | |
* [hub cube](cube) | |
* [hub infra](infra) | |
* [hub vpn](vpn) | |
| |
Et nous conservons une trace de nos réunions dans les [PVs](pvs). | |
| |
**N'hésitez pas à nous [contacter](contact) ou à venir [nous rencontrer](agenda#francais).** | |
| |
> *L'association a pour objet le maintien, le développement et la promotion de l'usage des réseaux d'échange d'information, dans le respect du principe de | |
neutralité du réseau et la défense des droits fondamentaux incluant notamment les droits à la libre expression, à l'accès à l'information et au respect de la vie | |
privée, avec les objectifs de développement humain et d'autonomisation des utilisateurs des réseaux.* Article 4 de [nos | |
status](http://www.ejustice.just.fgov.be/tsv_pdf/2017/09/19/17133371.pdf) | |
| |
Nous [STATUS](https://status.neutrinet.be/) sur une page (en cours de développement). | |
# Nederlands | # Nederlands |
| |