diff options
| -rw-r--r-- | docs/spec/system.html | 2 | ||||
| -rw-r--r-- | 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 @@ </tbody> </table> <p><code><span class='Function'>Rename</span></code>, <code><span class='Function'>Copy</span></code>, and <code><span class='Function'>CreateDir</span></code> return the path of the new file. <code><span class='Function'>Remove</span></code> and <code><span class='Function'>RemoveDir</span></code> return <code><span class='Number'>1</span></code> to indicate successful removal (and error otherwise).</p> -<p><code><span class='Function'>List</span></code> returns filenames only, without extensions. It lists all files and directories including hidden ones, but not the current and parent directory names <code><span class='Value'>.</span></code> and <code><span class='Value'>..</span></code>.</p> +<p><code><span class='Function'>List</span></code> returns filenames only, without full paths. It lists all files and directories including hidden ones, but not the current and parent directory names <code><span class='Value'>.</span></code> and <code><span class='Value'>..</span></code>.</p> <p>Functions <code><span class='Function'>Chars</span></code>, <code><span class='Function'>Lines</span></code>, and <code><span class='Function'>Bytes</span></code> are all ambivalent. If only <code><span class='Value'>𝕩</span></code> 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 <code><span class='Value'>𝕨</span></code> is the filename and <code><span class='Value'>𝕩</span></code> is the desired contents. These are written to the file, overwriting its contents, and the absolute filename <code><span class='Value'>𝕨</span></code> is returned. The three formats are:</p> <ul> <li>Chars: BQN characters, or UTF-32. The file is assumed to be UTF-8 encoded.</li> diff --git a/spec/system.md b/spec/system.md index 0fed759c..c82229f3 100644 --- a/spec/system.md +++ b/spec/system.md @@ -109,7 +109,7 @@ File access functions read or write files, either by manipulating files as a who `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: |
