Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!bunyip!lance!surf!sicsws14!venables From: venables@sicsws14.sics.bu.oz.au (venables) Newsgroups: comp.lang.perl Subject: Re: Listing directories Message-ID: <1097@surf.sics.bu.oz> Date: 25 May 90 06:11:20 GMT References: <1990May24.173733.7493@uvaarpa.Virginia.EDU> Sender: news@surf.sics.bu.oz Reply-To: venables@sicsws14.UUCP (venables) Organization: Bond University Lines: 11 In article <1990May24.173733.7493@uvaarpa.Virginia.EDU> gaspar@STL-08SIMA.ARMY.MIL writes: ... > >Someone else suggested just 'ls */'--that sure doesn't work for me >in either sh or csh. > In csh try "ls -d */". The "-d" is necessary to suppress recursive listing of directory contents.