On  Mon, Nov 14, 2005 at 01:30:30PM -0500, Jeremy Huntwork wrote:
> Hey Everyone,
> 
> Wanted an opinion. In the spirit of verbosity, I was wondering if anyone 
> would find this change useful. In the chapter 5 Adjusting the Toolchain 
> section:
> 
> find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rf '{}' \;
> 
> becomes:
> 
> find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rf '{}' \; \
> -exec echo Removed '{}' \;
> 
Doesn't rm have a -v that would accomplish the same sort of thing?
I mean - find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rfv '{}' \;

I could be wrong of course... but why -exec if it's not needed right?

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

Reply via email to