Skip to content

ls globbing does not behave like shell, consider using glob.sync #225

@boutell

Description

@boutell

ls() globbing does not behave like the shell. For instance, this doesn't work:

/opt/stagecoach/apps/*/current/public

The * does not match path components in the middle of a path.

The same thing works, however, if I use the glob module's "glob.sync" method instead.

I suggest using glob.sync rather than a homegrown implementation of ls.

This would impact the options currently supported by ls however.

Metadata

Metadata

Assignees

Labels

fixBug/defect, or a fix for such a problemhigh priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions