User Tools

Site Tools


grep

Table of Contents

# $EPIC: grep.txt,v 1.2 2007/02/20 02:39:55 jnelson Exp $

Synopsis:

load grep
grep [-w #] <regex>

Description:

The grep command works like lastlog -regex, where it scans a window's lastlog for any lines that match the <regex> and outputs them. It is a good example of how to use regexes, and how to scan the lastlog of a window.

You can optionally specify a window with the -w option. The current window is the default window.

History:

This script was written by wd and first appeared in EPIC4pre2.510.

grep.txt · Last modified: 2007/02/20 02:39 (external edit)