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


_______________________________________________
Clfs-dev mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-dev

Reply via email to