User Tools

Site Tools


en:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:start [2019/07/09 12:35] – external edit 127.0.0.1en:start [2022/07/22 13:15] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Pour remplacer des trucs de Wiki.js ======+~~NOCACHE~~
  
-    sed -i.bak2 's/<!-- TITLE\([^>]*\) -->/====== \1 ======/g' cube.txt +:!: **The [[:fr:|French version]] of the wiki is more extensive and accurate.** :!:
-    sed -i.bak2 's/<!-- SUBTITLE\([^>]*\) -->/===== \1 =====/g' cube.txt+
  
-Suite à la conversation :+//« The purpose of the association is to maintain, develop and promote the use of information exchange networks, while respecting the principle of network neutrality and defending fundamental rights, including the rights to free expression, access to information and respect for privacy, with the objectives of human development and the empowerment of network users. »// \\ Translation of the 4th article of [our statutes (official)](http://www.ejustice.just.fgov.be/tsv_pdf/2017/09/19/17133371.pdf) or [on this wiki (french)](fr:administration:statuts)
  
-<code> +[Neutrinet asbl](https://neutrinet.be/about) is organized in **hubs** *(aka working groups, tasks forces, circles, ...)*.
-<tierce> hello how to search for <!-- TITLE: and replace with ====== using sed ? +
-<Riviera> # echo '<!-- TITLE:<!-- TITLE:<!-- TITLE:' | sed 's/<!-- TITLE:/======/g' +
-<shbot> Riviera: ================== +
-<tierce> thank you ! +
-<tierce> is it possible to replace ====== some title ====== by ====== some title ====== using sed ? +
-<Riviera> That would be +
-<Riviera> <!-- TITLE: ... until the end of the line? +
-<tierce> and keep the « some title » text ? +
-<Riviera> What if there are other tags on the same line, or what if the title spans multiple lines? +
-<Riviera> sed is likely not the best tool to process your data +
-<Riviera> Anyway, if it is to the end of the line: +
-<tierce> the title does not span on multiple line +
-<Riviera> # echo '<!-- TITLE: some title' | sed 's/<!-- TITLE:/======/;s/$/ ======/' +
-<shbot> Riviera: ====== some title ====== +
-<Riviera> ah +
-<Riviera> i missed the -->, sorry. +
-<Riviera> So that's a bit complicated in sed, let me think. +
-<tierce> if another tool is necessary, what would you recommand ? +
-<Riviera> Since your data is XML I'd recommend something that understands XML. Perhaps xmlstarlet or xmllint. +
-<tierce> ok.. it helps me for the moment, and if it's not enough, I'll have a look on xmlstartel or xmlint. +
-<tierce> thanks for your help +
-<Riviera> well hm, since you are not looking for a robust solution anyway, +
-<Riviera> perhaps this would suffice for your current situation: +
-<Riviera> # echo '<!-- something -->====== some title ======<!-- something -->' | sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' +
-<shbot> Riviera: <!-- something -->====== some title ======<!-- something --> +
-<Riviera> sed 's/<!-- TITLE: \([^>]*\) -->/====== \1 ======/g' +
-</code> +
-====== Contenu de la page ====== +
- +
-![Logo](/uploads/logo.png "Logo"){.pagelogo} +
- +
-# English +
-[Neutrinet asbl](https://neutrinet.be/about) is organized in **hubs** *(working groups, tasks forces, circles, ...)*. +
- +
-* [hub admin](administration) +
-* [hub comm](communication) +
-* [hub cube](cube) +
-* [hub infra](infra) +
-* [hub vpn](vpn) +
- +
-And we try to keep track of our meetings under those [minutes](pvs). +
- +
-> *The purpose of the association is to maintain, develop and promote the use of information exchange networks, while respecting the principle of network neutrality  +
-and defending fundamental rights, including the rights to free expression, access to information and respect for privacy, with the objectives of human development  +
-and the empowerment of network users.* Translation of the 4th article of [our statutes](http://www.ejustice.just.fgov.be/tsv_pdf/2017/09/19/17133371.pdf)  +
- +
-**Do not hesitate to [contact](contact) us or to come in a meeting** +
- +
-# Nederlands +
- +
-We zijn in **hubs** georganiseerd. +
- +
-* [hub admin](administration) +
-* [hub comm](communication) +
-* [hub cube](cube) +
-* [hub infra](infra) +
-* [hub vpn](vpn) +
- +
-De verslagen van de vergaderingen vindt u in de [PVs](pv). +
- +
-![Cats](/uploads/cats.jpg "Cats"){.align-center}+
en/start.1562668524.txt.gz · Last modified: 2019/10/13 15:01 (external edit)