Cobra | Interactive Query Language | = | ||
---|---|---|---|---|
NAME= -- print a user-defined string with a value for each marked tokenSYNTAX= = "string" = "string" expression = (expression) DESCRIPTIONWhen no arguments are provided, the command prints the number of currently marked tokens. If a string argument is given, the output is prefixed with that string.If an expression is present, the command prints the string (if present) and the value of the expression for every currently marked token. Two things are important to note:
EXAMPLES: m do # all do-loops : = # print the nr of current matches : n # move to { : = "number of lines:" .range : = (.range) NOTESIf the string to be printed contains no spaces, the quote marks can be deleted. For instance:: = Range: .range SEE ALSOpatterns |
Return to index Manual Tutorial |
(Last Updated: 22 May 2017) |