Timothy G Abbott <[EMAIL PROTECTED]> writes:

> The other common bad character I see often is # from emacs backup (as
> oppposed to auto-save) files.
>
> I'd actually check for files that only use the [a-zA-Z0-9_-.] symbol set
> (though apparently you also disallow .; is this to avoid hidden files? In
> that case, I'd just check for . at the start of the filename);

. is disallowed because of dpkg; it's the most common way in Debian to
avoid parsing foo.dpkg-dist or foo.dpkg-new files.

> I think this is what run-parts does, and thus probably what most users
> will expect from .d/ directories.

Indeed, run-parts restricts to [a-zA-Z0-9_-].  Okay, I'll look at doing
the same thing.

Thanks!

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to