NAME write_bytes - write chars in a given position in a file SYNOPSIS int write_bytes(string filename, int position, string text) DESCRIPTION Write the string 'text' at a given position in a file. If the position is negative it is counted backwards from the end of the file. If the position is outside the file the nothing is written. If the 'text' extends outside the file then the file is extended. NOTA BENE Observe that you overwrite existing data in the file. Not like write_file where you only append data at the end. SEE ALSO read_bytes, write_file, read_file
Help topics available:
_acl_debug | _acl_get | _acl_str2num | _acl_num2str | _file_stat |
cat | ed | file_size | get_dir | log_file |
mkdir | read_bytes | read_file | rm | rmdir |
tail | write_bytes | write_file |
You are guest number 132 since November 2019.
This file was last modified: June 2000.