DOKK / manpages / debian 12 / cdist / cdist-type__sed.7.en
CDIST-TYPE__SED(7) cdist CDIST-TYPE__SED(7)

cdist-type__sed - Transform text files with sed

Transform text files with sed.

sed script. If - then the script is read from stdin.

Path to the file. Defaults to $__object_id.
Execute this command if sed changes file.

Use extended regular expressions in the script. Might not be supported with every sed version.

__sed /tmp/foobar --script 's/foo/bar/'
echo 's/foo/bar/' | __sed foobar --file /tmp/foobar --script -


Ander Punnar <ander-at-kvlt-dot-ee>

Copyright (C) 2021 Ander Punnar. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ungleich GmbH 2021

January 15, 2023 7.0.0