Mercurial > libervia-backend
comparison doc/libervia-cli/pubsub.rst @ 3632:7acf19bdca2f
doc: minor typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Aug 2021 14:59:47 +0200 |
parents | 267e4987b58b |
children | 7bc443253b7c |
comparison
equal
deleted
inserted
replaced
3630:8ee0140cc8b6 | 3632:7acf19bdca2f |
---|---|
341 if not "sàt" in item_raw: | 341 if not "sàt" in item_raw: |
342 print("SKIP") | 342 print("SKIP") |
343 else: | 343 else: |
344 print(item_raw.replace("sàt", "Libervia")) | 344 print(item_raw.replace("sàt", "Libervia")) |
345 | 345 |
346 And save it a some location, e.g. ``~/expand_sat.py`` (don't forget to make is executable | 346 And save it a some location, e.g. ``~/expand_sat.py`` (don't forget to make it executable |
347 with ``chmod +x ~/expand_sat.py``). | 347 with ``chmod +x ~/expand_sat.py``). |
348 | 348 |
349 To be sure it's safe, you can first do a dry-run and check the result:: | 349 To be sure it's safe, you can first do a dry-run and check the result:: |
350 | 350 |
351 $ li pubsub transform -n urn:xmpp:microblog:0 -A -o creation ~/expand_sat.py | 351 $ li pubsub transform -n urn:xmpp:microblog:0 -A -o creation ~/expand_sat.py |