Description
Returns a user-specific number of lines from the start of the input.
Parameters
Table 23. Parameters
Attribute |
Type |
Description |
Required |
lines |
int |
The number of lines to return.
|
true |
skip |
int |
An optional number of lines to skip. Defaults to 0.
|
false |
Examples
Example 14.
Copy the first 10 lines of a file
<copy file="input.txt" tofile="processed.txt">
<filterchain>
<head lines="10"/>
</filterchain>
</copy>