Difference behavior for dot files on windows and linux
See original GitHub issueEnvironment
- OS Version: windows/linux
- Node.js Version: 8.15.0
Actual behavior
We have file directory/.dottedfile
pattern - {file.txt,noextension,directory/**/*}
On linux - file founded On windows - no
Expected behavior
Founded on linux and windows, or provide documentation why it is doesn’t work and/or how can be fixed
Steps to reproduce
Below
Code sample
fg(['{file.txt,noextension,directory/**/*}'], { dot: true }).then((entries) => console.log(entries));
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Understanding the differences between Linux and Windows files
Simply put, a Linux hidden file begins with a period (.), which is where the term “dot file” comes from, and can be...
Read more >differences in python path handling with trailing dot ...
Linux doesn't have filename extensions, so the trailing . is a valid part of the filename and must be preserved.
Read more >Dotfiles – What is a Dotfile and How to Create it in Mac and ...
Dotfiles are configuration files for various programs, and they help those programs manage their functionality. What sets them apart from ...
Read more >Linux History: How Dot Files Became Hidden Files
Ever wondered why there are files on your Linux system, starting with a dot? The short answer: they are shortcuts. The story begins...
Read more >Hidden file and hidden directory - Wikipedia
config), commonly called a dot file or dotfile, is to be treated as hidden – that is, the ls command does not display...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I suggest we relocate discussion to the Picomatch repository. It seems that in this ticket we had to talk about curly braces.
https://github.com/micromatch/picomatch/issues/7
Sorry guys, I don’t have free time right now. I’ll be back as soon as I can. Add a record to the ToDo.