cdist-type__sed - Transform text files with sed
Contents
Boolean Parameters
regexp-extended
Use extended regular expressions in the script. Might not be supported with every sed version.
Copying
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.
Copyright
ungleich GmbH 2021
7.0.0 Sep 11, 2024 CDIST-TYPE__SED(7)
Description
Transform text files with sed.
Examples
__sed /tmp/foobar --script 's/foo/bar/'
echo 's/foo/bar/' | __sed foobar --file /tmp/foobar --script -
Name
cdist-type__sed - Transform text files with sedOptional Parameters
file Path to the file. Defaults to $__object_id.
onchange
Execute this command if sed changes file.
Required Multiple Parameters
scriptsed script. If - then the script is read from stdin.
