scan open file starting from current position
scanfile [-copyfile copyFileId] contexthandle fileId
Scans the file specified by fileId, starting from the
current file position, and checks all patterns in the scan context specified by
it, executing the match commands corresponding to patterns matched.
If the optional -copyfile argument is specified, the next argument
is a file ID to which all lines not matched by any pattern (excluding
the default pattern) are to be written.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003