octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function
Date: Fri, 22 Apr 2022 14:37:22 -0400 (EDT)

Follow-up Comment #45, bug #62282 (project octave):

`ls *`: list all in the current directory
`ls \*`: look for a single file or list the content of a folder named `*`
`ls .\*`: look for a single file or list the content of a folder named `.*`
`ls .\\*`: look for a single file or list the content of a folder named `*`
(the same as second command)
`ls ./*`: list all in the current directory (the same as first command)
`ls D:\Users\Owner\Desktop\BEV\doc\*`: look for a single file or list the
content of a folder named `doc*` in the directory
`D:\Users\Owner\Desktop\BEV`
`ls D:\Users\Owner\Desktop\BEV\doc\\*`: look for a single file or list the
content of a folder named `*` in the directory
`D:\Users\Owner\Desktop\BEV\doc`

In all of these examples the same rule applies: If `*` is preceded by `\` it
is to be taken as a literal character. Otherwise, it is a wildcard character
for an arbitrary number of characters.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62282>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]