[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#762839: bash without importing shell functions from the environment



Hi,

shawn wilson:
> > Maybe we should add the patched version, with an appropriate NEWS entry,
> > to backports?
> >
> 
> Maybe?

"Maybe we" as a shorthand for "IMHO, the maintainer of bash should".

Better? :-)

Also, '-p' (privileged mode, i.e. ignore functions in the environment, as
well as a bunch of special envvars which change bash's behavior in
interesting ways) should really be the default for scripts; I suspect that
nothing whatsoever would break if non-interactive shells had that flag set
forcibly.

In any case, adding "-p" to any #!/bin/bash shebang line looks like a very
good idea. Shall we add a Lintian check for this?

-- 
-- Matthias Urlichs

Attachment: signature.asc
Description: Digital signature


Reply to: