From e6bee5e0cf0621fa00c1aeef29deb33d0818744c Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 29 May 2021 12:18:08 -0400 Subject: =?UTF-8?q?=E2=80=A2file.List=20excludes=20paths,=20not=20extensio?= =?UTF-8?q?ns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/spec/system.html | 2 +- spec/system.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spec/system.html b/docs/spec/system.html index 84ef65c3..cc25518b 100644 --- a/docs/spec/system.html +++ b/docs/spec/system.html @@ -225,7 +225,7 @@

Rename, Copy, and CreateDir return the path of the new file. Remove and RemoveDir return 1 to indicate successful removal (and error otherwise).

-

List returns filenames only, without extensions. It lists all files and directories including hidden ones, but not the current and parent directory names . and ...

+

List returns filenames only, without full paths. It lists all files and directories including hidden ones, but not the current and parent directory names . and ...

Functions Chars, Lines, and Bytes are all ambivalent. If only 𝕩 is given, then it is a filename, and the result is the contents of the file in the appropriate format. If there are two arguments, then 𝕨 is the filename and 𝕩 is the desired contents. These are written to the file, overwriting its contents, and the absolute filename 𝕨 is returned. The three formats are: