On Aug 14, 2010, at 11:36 PM, Michael Ash wrote:

> First is the more obvious one, where you have the semantics of doing
> an 'rm' on a directory without passing the -r flag. If the directory
> is empty, it's deleted. If it's not, the command fails.

Not to flog a dead horse, but 'rm' doesn't do that.  Without '-r', rm always 
fails on a directory, even if it's empty.  Only 'rmdir' will delete a directory 
if empty and fail otherwise.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to