Jeremy Huntwork wrote: > On Dec 29, 2011, at 5:43 PM, Bruce Dubbs wrote: >> Sure, it's a requirement, but if it isn't there, then the check for >> libc fails. Right now, the resources needed are head, cut, echo, >> readlink, and cat; other than the resources being directly tested. >> >> I just don't want to see a cascading failure. > > Well, in that case, what happens if grep isn't available? I think > grep and awk are about on the same level when it comes to > universality of presence. If you really want to make sure that you're > able to parse the line and evaluate the output then perhaps you > should use a POSIX compatible parameter substitution.
That's too complicated. The idea is to keep it as simple as possible. The issue with with gawk/awk is more the version. Both grep and awk are part of the LSB core. I've never heard of a problem with grep, but I have heard of problems with awk. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page