cdist-type__sed - Man Page
Transform text files with sed
Description
Transform text files with sed.
Required Multiple Parameters
- script
sed script. If - then the script is read from stdin.
Optional Parameters
- file
Path to the file. Defaults to $__object_id.
- onchange
Execute this command if sed changes file.
Boolean Parameters
- regexp-extended
Use extended regular expressions in the script. Might not be supported with every sed version.
Examples
__sed /tmp/foobar --script 's/foo/bar/' echo 's/foo/bar/' | __sed foobar --file /tmp/foobar --script -
Authors
Ander Punnar <ander-at-kvlt-dot-ee>
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
Info
Jul 31, 2022 7.0.0 cdist