_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. _See also [[/fopen]], [[/fclose]], [[/fwrite]], [[/flist]], [[$fread]], [[$fgetc]], [[$feof]], [[$ferr]], [[$fopen]]._ *Switches* table(ktable). |*Switch*|*Description*| | -l | Set position to line 'line number'. | | -n | Set position to start of the next line. | | -r | Set position to text matching '[[Scripting_Regex|regex]]'. | | -w | Set position to text matching '[[Scripting_Wildcards|wildcard]]'. | | -p | Set position to start of the previous line. | *Parameters* table(ktable). |*Parameter*|*Description*| | <handle> | The file handle to seek. | | <position | line number | [[Scripting_Wildcards|wildcard]] | [[Scripting_Regex|regex]]> | The position/Line number with -l/[[Scripting_Wildcards|Wildcard]] with -w/[[Scripting_Regex|regex]] with -w to set. |