On 8/27/06, Mark Rosenstand <[EMAIL PROTECTED]> wrote:
On Tue, 2006-07-18 at 07:31 -0700, Dan Nicholson wrote: > On 7/18/06, Randy McMurchy <[EMAIL PROTECTED]> wrote: > > > > > -install -dv -m 1777 /tmp /var/tmp > > > +install -dv -m 1777 {/var,}/tmp > > > > This syntax looks wrong to me. Seems it would create a /var/tmp > > dir but not /tmp. > > It's correct. {/var,} expands to /var and "".I think this obfuscation of the command is unneccessary, since the paths are so short (you save 2 chars and in the keys you'll have to strike are placed at worse positions) and it's also a bash-ism (which I don't mind
One of the original purposes of the LFS project was to teach you how to build a Linux From Scratch system, with the emphasis on teach. It's not intended to be a straight cut and paste formula, and the opportuniy is taken in several places to expose the reader to some of the shortcuts and alternate command line options they may have been unaware of previously. The "bash'ism" comment isn't necessarily valid - at this point in the book, you're in a chroot environment, in a bash shell, so use of bash specific commands is certainly valid. If you have chosen to not install bash, then your expected to also know what impact such deviation will have. -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
