Owner manual

-context or -C Print NUM lines of output context. This places a line containing ’--
between contiguous groups of matches.
--only-matching or –o Print only the part of the line that matches the expression.
--group or g <string> Print the contents of the regex group. Group 0 is the entire pattern.
--group-separator or sep <string>
When printing multiple groups, use this item to separate them.
(See
help –-all for details on all other options.)
Arguments
pattern Regular expression, following the syntax given at
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
shell:head
Displays the first lines of a file.
Syntax
shell:head [options] paths or URLs
Options
-n <integer> Number of lines to display, starting at 1
Arguments
paths or URLs List of file paths or URLs to display, separated by spaces
shell:if
Conditionally executes commands. See Details below for more information.
Syntax
shell:if [options] condition ifTrue or ifFalse
Options
--not Negate the logic of the condition.
Arguments
condition Condition; a function or value
ifTrue Function to execute if the condition is true
ifFalse Function to execute if the condition is false
135