Skip to content

Why does globbing not work on ported Linux tools, but work on Windows ones? #548

Answered by chrisant996
eggbean asked this question in Q&A
Discussion options

You must be logged in to vote

I know that this isn't to do with clink, as it happens without clink too, but if this does not involve readline on Linux, I don't know what it does involve.

On Linux shells and in cmd.exe when using native Windows commands, glob characters like * and ? work, but they don't when using ported Linux tools like ls, file, etc.(I am using busybox or coreutils and similar).

Short version:

In Unix/Linux the shell does it; but in Windows CMD doesn't expand wildcards.

Ported Linux apps work on Windows the same as they do on Linux. The apps don't expand wildcards. The difference in behavior happens when they aren't launched from a Linux shell.

More info:

There are lots of articles and questions/an…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@eggbean
Comment options

Answer selected by chrisant996
Comment options

You must be logged in to vote
1 reply
@eggbean
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question about something
2 participants