logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__sed - Transform text files with sed

Authors

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

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.

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 sed

Optional 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.

See Also