Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: spaces in filenames should be a crime.



On 29/03/17 08:21 AM, Peter Stephenson wrote:
On Wed, 29 Mar 2017 07:50:34 -0700
Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
(Obviously this is a pointless discussion, but while I'm waiting for
things to compile...)
Is the design philosophy of software pointless?
The only thing missing by default is files beginning "." (that's the
D).  The "." and the "om[1]" are indeed subtracting things.

By demanding
Not demanding, rather musing on the paradigm.

that globbing matches files beginning with "." by default,
you've just removed one of the earliest safety features built into
shells, so that people are condemned to have their initialisation files
show up with every glob.  It happens that most people don't consider
this "robust" for their purposes.  But if you're happy to sacrifice
usability. you can set the option GLOB_DOTS, and it works the way
you want.

pws

I guess it's both -- D and N are includers and '.om ' are excluders. Anyway, sorry, just dreaming out loud. Probably can't be a dogmatic answer one way or the other. Not bitching.



Messages sorted by: Reverse Date, Date, Thread, Author