Project

General

Profile

Fseek » History » Version 2

Per Amundsen, 02/10/2014 10:05 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3 2 Per Amundsen
*/fseek [-lnrw] <handle> <position | line number | wildcard | regex>*
4 1 Per Amundsen
5
Sets the read/write pointer to the specified position in the file.
6
7
-l - Set position to line 'line number'.
8
-n - Set position to start of the next line.
9
-r - Set position to text matching 'regex'.
10
-w - Set position to text matching 'wildcard'.
11
12
*Parameters*
13
14
<handle> - The file handle to seek.
15
<position | line number | wildcard | regex> - The position/Line number with -l/Wildcard with -w/Regex with -w to set.