Skip to content

Commit

Permalink
update man
Browse files Browse the repository at this point in the history
  • Loading branch information
4nd3r committed Sep 14, 2021
1 parent aabef7f commit 5bf0c71
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions cdist/conf/type/__sed/man.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bf0c71

Please sign in to comment.