Browse Source

update man

ander/__sed
ander 1 year ago
parent
commit
5bf0c71e7a
No known key found for this signature in database
GPG Key ID: A2971E562D618F3
  1. 17
      cdist/conf/type/__sed/man.rst

17
cdist/conf/type/__sed/man.rst vendored

@ -8,35 +8,40 @@ cdist-type__sed - Transform text files with ``sed``
DESCRIPTION
-----------
TODO
Transform text files with ``sed``.
REQUIRED MULTIPLE PARAMETERS
----------------------------
script
TODO
``sed`` script.
If ``-`` then the script is read from ``stdin``.
OPTIONAL PARAMETERS
-------------------
file
TODO
Path to the file. Defaults to ``$__object_id``.
onchange
TODO
Execute this command if ``sed`` changes file.
BOOLEAN PARAMETERS
------------------
regexp-extended
TODO
Use extended regular expressions in the script.
Might not be supported with every ``sed`` version.
EXAMPLES
--------
.. code-block:: sh
true
__sed /tmp/foobar --script 's/foo/bar/'
echo 's/foo/bar/' | __sed foobar --file /tmp/foobar --script -
AUTHORS

Loading…
Cancel
Save