Skip to content

Tag: <delete-line> - Deletes Lines

Definition

The <delete_line> tag is used to find and filter out unwanted lines from a command response.

Parameters

  • Element Text (str): The is the regular expression that is used to match the string on a line. Matching strings are deleted from the response.

The :<delete_line> tag is used under a :<command> tag that is performing the operation.

Example

1
2
3
4
5
<command>sudo groupadd -f %(sudo_root_group)s
    <delete_lines>
        <delete_line>sent invalidate.*</delete_line>
    </delete_lines>
</command>

Parent Tags

Child Tags

  • None