Hey Guys,

Had a question about some of the sed syntax in the first half of the
book. Often, we're doing something like this:

cp -v configure{,.orig}
sed -e 's@/usr/include@/tools/[EMAIL PROTECTED]' configure.orig > configure

Just curious why we're running the sed on the 'configure.orig' file and
outputting to configure. We've already copied the file as a backup, so
we should be safe to sed the 'configure' file itself and shorten the
command, ie:

cp -v configure{,.orig}
sed -e 's@/usr/include@/tools/[EMAIL PROTECTED]' configure

Any reason why we're not doing it this way?

--
JH

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

Reply via email to