diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-07 16:16:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-07 16:16:51 -0700 |
commit | a5bb91bf9df40b6f0f896dfaf57555651b8c2bc2 (patch) | |
tree | d481784f4c9f4210c25d581a230bd653e2996d85 /pw.1 | |
parent | b45105b94ee7d712a4d7b2a1c9054fd95e715093 (diff) | |
download | pw-a5bb91bf9df40b6f0f896dfaf57555651b8c2bc2.tar.gz pw-a5bb91bf9df40b6f0f896dfaf57555651b8c2bc2.tar.bz2 pw-a5bb91bf9df40b6f0f896dfaf57555651b8c2bc2.zip |
New -e option to execute commands.
Now there is a way to set up triggers prior to execution.
Diffstat (limited to 'pw.1')
-rw-r--r-- | pw.1 | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -836,6 +836,25 @@ The command displays these same parameters in the same format, so it is possible to set them up interactively and then copy the values shown by .BR Ctrl-G . +.RE + +.IP "\fB-e\fP \fIcommand\fP" +Execute a colon or trigger command. For instance + +.ft B + -e :c15 +.ft R + +sets the capture count to 15. Note that the colon is included in the command. +Trigger commands may be preceded by a count. For example: + +.ft B + -e 3/^Failed +.ft R + +sets a head-referenced trigger for the pattern +.B ^Failed +matching against line 3 of the FIFO. .SH ENVIRONMENT |