Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!teknowledge-vaxc!sri-unix!quintus!ok From: ok@quintus.uucp (Richard A. O'Keefe) Newsgroups: comp.unix.wizards Subject: Re: directory copying with cp; broken? Message-ID: <506@quintus.UUCP> Date: 5 Oct 88 23:15:51 GMT References: <40@ausonics.OZ> <30506@bbn.COM> Sender: news@quintus.UUCP Reply-To: ok@quintus.UUCP (Richard A. O'Keefe) Organization: Quintus Computer Systems, Inc. Lines: 11 In article <30506@bbn.COM> mesard@bbn.com (Wayne Mesard) writes: >Indeed. And more generally, a consistent way of handling directories >(i.e. directory files) needs to be established. In SunOS 3.4: > head, tail, cat ==> {works} Are you sure about that? In both SunOS 3.2 and SunOS 4.0, % cat . cat: read error: Is a directory In straight 4.2BSD, if you read a directory, you get the file names &c, but in SunOS 3.x and 4.x, a directory always appears to be empty. So "wc $Directory" in SunOS will always print "0 0 0".