cp foo{,.bak} not always supported

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jun 1 16:05:20 MDT 2008


Bryan Kadzban wrote:

> You don't have to make Ubuntu change anything.  Just make sure the user
> that's running your scripts (...or at least, I'm assuming that's how
> people do an "IPCop compile"?) is running bash.  Then, if they already
> are running bash, also add a "set -B".  The book instructions should
> work at that point.

I don't think I agree.  From the man page:

   -B      The shell performs brace expansion (see Brace Expansion above).
           This  is on by default.

Why should we recommend setting what is set by default?  Why would someone want 
to turn this off in an initialization script?

   -- Bruce


More information about the lfs-dev mailing list