Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!manuel!csc.canberra.edu.au!news From: rvp@softserver.canberra.edu.au (Rey Paulo) Newsgroups: comp.unix.questions Subject: Re: How do I tell when a directory is empty in a script? Message-ID: <1991Apr25.022029.5476@csc.canberra.edu.au> Date: 25 Apr 91 02:20:29 GMT References: <900@homer.UUCP> <1991Apr15.180550.14750@beaver.cs.washington.edu> <1991Apr18.054735.6733@metapro.DIALix.oz.au> Sender: Rey V. Paulo Organization: University of Canberra Lines: 15 In article <1991Apr18.054735.6733@metapro.DIALix.oz.au> bernie@metapro.DIALix.oz.au (Bernd Felsche) writes: [ stuff deleted ] Is there any system call or library routine in UNIX which tests whether a directory is empty? Thanx. -- Rey V. Paulo | Internet: rvp@csc.canberra.edu.au University of Canberra | I am not bound to please thee with my answer. AUSTRALIA | -Shylock, in "The Merchant of Venice" ------------------------------+----------------------------------------------