Project

General

Profile

Fseek » History » Revision 2

Revision 1 (Per Amundsen, 02/10/2014 10:04 PM) → Revision 2/11 (Per Amundsen, 02/10/2014 10:05 PM)

_Added in 1.8.10_ 

 */fseek [-lnrw] -lnrw <handle> <position | line number | wildcard | regex>* 

 Sets the read/write pointer to the specified position in the file. 

 -l - Set position to line 'line number'. 
 -n - Set position to start of the next line. 
 -r - Set position to text matching 'regex'. 
 -w - Set position to text matching 'wildcard'. 

 *Parameters* 

 <handle> - The file handle to seek. 
 <position | line number | wildcard | regex> - The position/Line number with -l/Wildcard with -w/Regex with -w to set.