Site Tools


grep
no way to compare when less than two revisions

Differences

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


grep [2007/02/20 02:39] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $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 by 127.0.0.1