Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 3/23/84; site cbosgd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.sources Subject: Re: Public domain "strings" command Message-ID: <1274@cbosgd.UUCP> Date: Mon, 16-Apr-84 19:10:35 EST Article-I.D.: cbosgd.1274 Posted: Mon Apr 16 19:10:35 1984 Date-Received: Tue, 17-Apr-84 08:25:36 EST References: <295@unmvax.UUCP> Organization: AT&T Bell Laboratories, Columbus Lines: 8 It was really nice of someone to rewrite strings so there would be a public domain version, but the copy from Berkeley is already in the public domain. (It was written at Berkeley, it did not come with 32V.) It would be nice to have one version that works both on 4BSD and System V. (It seems that strings uses some handy macros that only Berkeley has that tell about the headers of a.out files.) It's possible to tell the difference using ifdefs, based on, say, L_ctermid from stdio.h, or N_BADMAG from a.out.h.)