comparison scripts/miscellaneous/ls.m @ 30949:7d99816e9709 stable

ls.m: Improve wording in docstring (bug #62282).
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 21 Apr 2022 17:52:31 +0200
parents 5044c6918fdf
children 9d7ec294af2b 6397b6d7c42e
comparison
equal deleted inserted replaced
30947:fe898ae23e0e 30949:7d99816e9709
35 ## The @code{ls} function forwards to the @code{ls} command if it is available. 35 ## The @code{ls} function forwards to the @code{ls} command if it is available.
36 ## It falls back to calling the native operating system's directory listing 36 ## It falls back to calling the native operating system's directory listing
37 ## command. Available @var{options} may vary from system to system. 37 ## command. Available @var{options} may vary from system to system.
38 ## 38 ##
39 ## Filenames are subject to shell expansion if they contain any wildcard 39 ## Filenames are subject to shell expansion if they contain any wildcard
40 ## characters @samp{*}, @samp{?}, @samp{[]}. To find a literal example of a 40 ## characters @samp{*}, @samp{?}, @samp{[]}. If these wildcard characters are
41 ## wildcard character the wildcard must be escaped using the backslash operator 41 ## escaped with a backslash @samp{\} (e.g., @samp{\*}), they aren't treated as
42 ## @samp{\}. 42 ## wildcards but as the corresponding literal character.
43 ## 43 ##
44 ## If the optional output @var{list} is requested then @code{ls} returns a 44 ## If the optional output @var{list} is requested then @code{ls} returns a
45 ## character array with one row for each file/directory name. 45 ## character array with one row for each file/directory name.
46 ## 46 ##
47 ## Example usage on a UNIX-like system: 47 ## Example usage on a UNIX-like system: