home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / se / part8 / se_h / scan < prev    next >
Encoding:
Text File  |  1986-11-30  |  927 b   |  16 lines

  1.                      For line number syntax, type "hln".
  2.                    For details about PATTERNs, type "hpat".
  3.  
  4.         A line number term consisting of  a  PATTERN  between  slashes
  5.         causes  a  scan to begin with the line after the current line.
  6.         If the last line is encountered, the scan continues with  line
  7.         1.   The  current  line  is the last to be examined.  The line
  8.         referred to is the first line encountered  in  the  scan  that
  9.         contains  a  match  for  the  pattern.   If  the entire buffer
  10.         contains no match, then an error is flagged.  If  the  pattern
  11.         is  enclosed  in  question marks,  the  scan is in the reverse
  12.         direction and begins with the line  just  before  the  current
  13.         line,  and  wraps  around  to  the  last  line after line 1 is
  14.         examined.  ">" and "<" mark name searches proceed in the  same
  15.         wraparound fashion.
  16.