Perform File Pattern Search
Searches the contents of a file for a pattern and displays any matching lines.
Workflow inputs – Perform File Pattern Search
Call Workflow Input | Description | Required? | Default Value |
connection details | XML document conforming to the ConnectionDetails common object that contains the information required to execute a command. | Yes | n/a |
pattern | The pattern to match. | Yes | n/a |
file | The path and file name of the file to be searched. | Yes | n/a |
invert pattern | Print all the lines except those that contain the pattern?
Valid values: true, false | No | false |
print byte offset | Precede each line by the block number on which it was found?
Valid values: true, false | No | false |
case insensitive | Ignore upper/lower case distinctions during search?
Valid values: true, false | No | false |
Workflow outputs – Perform File Pattern Search
Call Workflow Output | Description |
output | XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command. |
success | Did the operation succeed?
Valid values: true, false |