Skip to content

FilePrint

FilePrint(file)

prints the raw contents of file.

Examples

>> f = FileNameJoin({$TemporaryDirectory, \"test_open.txt\"})
/tmp/test_open.txt
>> str = OpenWrite(f);
>> Write(str, x^2 - y^2)
>> Close(str);

FilePrint prints the file content:

>> FilePrint(f)

as:

x^2 - y^2

Implementation status

  • ✅ - full supported

Github