Actions
Fseek » History » Revision 10
« Previous |
Revision 10/11
(diff)
| Next »
Per Amundsen, 02/16/2023 12:39 PM
Added in 1.8.10
/fseek [-lnrwp] <handle> <position | line number | wildcard | regex>
Sets the read/write pointer to the specified position in the file.
Switches
Switch | Description |
-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'. |
-p | Set position to start of the previous line. |
Parameters
Parameter | Description |
<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. |
Updated by Per Amundsen over 1 year ago · 10 revisions