Entering CLI Commands
34 Basic System Configuration Guide
Pipe/Count
The SR OS supports a pipe/count command (...| count) that provides a count of the number 
of lines that would have otherwise been displayed. The pipe/count command is particularly 
useful when used in conjunction with the pipe/match command in order to count the number 
of output lines that match a specified pattern.
For example:
*A:dut-c# show service service-using vprn
===============================================================================
Services [vprn]
===============================================================================
ServiceId Type Adm Opr CustomerId Service Name
> Redirect output
Table 10: Special Characters 
Options Similar to Description
[:upper:] [A-Z] uppercase letters
[:lower:] [a-z]
[:alpha:] [A-Za-z] upper- and lowercase letters
\w [A-Za-z_] word characters
[:alnum:] [A-Za-z0-9] digits, upper- and lowercase letters
[:digit:] [0-9] digits
\d [0-9] digits
[:xdigit:] [0-9A-Fa-f] hexadecimal digits
[:punct:] [.,!?:...] punctuation
[:blank:] [ \t] space and TAB
[:space:] [ \t\n\r\f\v] blank characters
\s [ \t\n\r\f\v] blank characters
Table 9: Regular Expression Symbols  (Continued)
String Description