User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

grep [2007/02/20 02:39] (current)
Line 1: Line 1:
 +# $EPIC: grep.txt,v 1.2 2007/02/20 02:39:55 jnelson Exp $
 +[[load]] grep \\
 +grep [-w #] <​regex>​
 +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.
 +This script was written by wd and first appeared in EPIC4pre2.510.
grep.txt ยท Last modified: 2007/02/20 02:39 (external edit)