On 2/4/12 8:59 PM, Bruce Dubbs wrote:
> rc.site uses $() in two places. I don't think that's portable.

Actually, I believe that is fine. See: 
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03

> To be honest, I'm not sure I want to restrict the scripts to a
> lowest-common api that was written 45 years ago. There are a few places
> where we could be more consistent though.

*shrug* My personal preference would be to make the scripts fully 
portable, so that they can be used by various shells - but I've already 
gone and forked DJ's scripts and that's what I'm using, so in the end it 
doesn't make much difference to me.

If you choose not to make the changes, then it's probably better to at 
least specify /bin/bash in the scripts, instead of pretending like 
they're portable via /bin/sh.

JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to