Set bash's shell option nullglob by default?

David Levine par.packager at gmail.com
Fri Jul 13 13:48:05 UTC 2012


Roman wrote:

> It is possible it can break many scripts even in rpm's
> scriptlets, but as I already said, it's because bad
> habits. So the main gain will be the people will learn how
> is the globbing in bash and in the whole environment
> working.

Please don't.  If an author or maintainer wants to save
themself from "bad habits", they can put "shopt -s nullglob"
near the top of their bash scripts.

Let's not break many, many existing scripts.

David


More information about the devel mailing list