Path: utzoo!attcan!uunet!husc6!mailrus!ames!killer!vector!rpp386!jfh From: jfh@rpp386.UUCP (John F. Haugh II) Newsgroups: comp.sources.wanted Subject: Re: looking for what(1) Message-ID: <3461@rpp386.UUCP> Date: 1 Jul 88 23:23:07 GMT References: <917@parcvax.Xerox.COM> Reply-To: jfh@rpp386.UUCP (The Beach Bum) Organization: Big "D" Home for Wayward Hackers Lines: 16 In article <917@parcvax.Xerox.COM> leisner@parcvax.Xerox.COM (Martin Leisner) writes: >I'm looking for a copy of the what(1) command . Anyone have a >public domain C source or a pointer to where I can find it? the program is trivial to write yourself. all what(1) does it search for strings of the form @(#), and print the characters it finds after that until it reaches a \n, \0 or something else i forget. the C code has fewer lines than this article. (well, not really) and yes, i have the source to one. i believe it is at work. - john. -- John F. Haugh II +--------- Cute Chocolate Quote --------- HASA, "S" Division | "USENET should not be confused with UUCP: killer!rpp386!jfh | something that matters, like CHOCOLATE" DOMAIN: jfh@rpp386.uucp | -- with my apologizes