On Tuesday 27 March 2012 15:08:28 Andreas Oberritter wrote: > On 27.03.2012 13:50, Paul Eggleton wrote: > > + PSEUDOBINDIR=`bitbake -e | grep STAGING_BINDIR_NATIVE=\" | cut -d > > '=' -f2 | cut -d '"' -f2` > I think using sed might improve readability: > > bitbake -e | grep ^STAGING_BINDIR_NATIVE= | sed -e > 's,^STAGING_BINDIR_NATIVE="\(.*\)"$,\1,' > > This may be a subjective impression, though.
I just copied this from further down in the script. Personally I find the original more readable although the sed version spawns less processes. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core