Previous Topic: FIRST ParameterNext Topic: ALL Parameter


LAST Parameter

Use the LAST Parameter with the FIND command to search for the last occurrence of the target string in the output.

The search starts at the beginning of the last line of the data and continues backward until the string is found or until the top of the data is reached.

Example

This command scans for the last occurrence of target-string in the output:

Command ===> find target-string last

To repeat the search for the next last occurrence of the target string, searching backward, issue the RFIND command.