Dan Nicholson wrote: > On 7/26/07, Bruce Dubbs <[EMAIL PROTECTED]> wrote: >> or just: >> >> grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log > > Greg has been using something like this in DIY, but he just checks for > crt1.o. Also, you could match on the line that follows the "succeeded" > line that just has the location: > > grep '^/usr/lib.*/crt[1in].o' dummy.log > > I didn't check that on a bootstrapped build, so I'm not sure it would > list the same way when using /tools/bin/gcc. Either of these should be > good.
Is that what we really want or is it important (or just nice) to have the "succeeded" part in the output? We can go either way. My preference is to keep the "succeeded" to give the user just a little more comfort. As a minor side effect, it also introduces the user to the -o option of grep. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page