On 11/18/2013 04:55 PM, Linda A. Walsh wrote: > In coreutils 8.21-7.1.3. > > It has been standard to use "." in a directory to mean it's contents > on a recursive or copy (compare cp -al src/. dst/.). > > However, "find dir/. -type d -empty -delete" works, but > exits with a failure code causing scripts to break.
This behavior is required by POSIX. Sorry. > POSIX is dead Ranting against POSIX won't buy you any friends. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature