-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Gilles Espinasse wrote:
> It has been reported on ipcop-devel list that  cp foo{,.bak}  contruction is
> broken on Ubuntu-8.04
> 
> This was on expect instructions
> 
> cp configure{,.bak}
> cp: missing destination file operand after `configure{,.bak}'
> Try `cp --help' for more information.

That just means Ubuntu is using the wrong shell (i.e. not bash), or the
wrong set of shell options.  See the section in the bash manpage on
brace expansion, and note that it can be disabled if "set +B" is run or
bash is started with the +B option.  And of course, the original sh
didn't do brace expansion, so nothing requires other sh-compatible
shells to support it, either.

But the book already sets up the lfs user to use the bash shell: see
section 4.3.  If you've duplicated this issue, I would double-check that
you're really using bash, and then "set -B", to see if that helps.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIQsL2S5vET1Wea5wRA988AJ9gQMhWsIWLhDB/PMLWsLeD9s2kKwCggflb
qYFEzNj/+Q/qAGZKYQq1pjY=
=5mEY
-----END PGP SIGNATURE-----
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to