On Sun, Jun 01, 2008 at 02:52:30PM +0200, 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. > > Could it not be prefered to build sed at the beginning, so it is always safe > to use sed -i? > That's what DYI do and what have been done on ipcop-1.4. > Anyway splitting in two instructions (one cp, one sed) could be the most > portable way. > > This construction is actually used on expect, gcc pass2, gzip, perl (in > perl, with mv, not cp) > > > Gilles > Or just require people to use a sane shell ?
ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page