Name
read_file
- read_file
[-nonewline]
fileName
[numBytes
] Read the entire contents of file
fileName
and return it as a string. The -nonewline option discards any final newline character in the file. Thenum-Bytes
option specifies the number of bytes to read.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.