From owner-freebsd-questions Thu May 16 16:37:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA16498 for questions-outgoing; Thu, 16 May 1996 16:37:22 -0700 (PDT) Received: from eac.iafrica.com (h196-7-192-134.iafrica.com [196.7.192.134]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA16491 for ; Thu, 16 May 1996 16:37:17 -0700 (PDT) Received: (from rnordier@localhost) by eac.iafrica.com (8.6.12/8.6.12) id BAA00600; Fri, 17 May 1996 01:36:13 +0200 From: Robert Nordier Message-Id: <199605162336.BAA00600@eac.iafrica.com> Subject: Re: using rcs with `what' To: kline@tera.com (Gary Kline) Date: Fri, 17 May 1996 01:36:12 +0200 (SAT) Cc: questions@freebsd.org In-Reply-To: <199605162017.NAA23502@athena.tera.com> from "Gary Kline" at May 16, 96 01:17:19 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Gary Kline wrote: > > This is tangential to the standard questions for this group. > (Hopefully.) It regards the RCS and the `what' utility. > > Has anybody considered hacking the rcs stuff so that our > $src/usr.bin/what utility could be used more widely? > > Since AT&T or owns sccs, and since `what' was > originally built for sccs, the what utility has become > relatively obsolete. But given a few minutes of hacks to > the rsc suite, `what' could be much more useful. Currently > it is only useful if pointed at binaries built with sccs_id > strings. > > Feedback? > > (I happened into this while checking some of my own projects > built with rcs... ) > > Sorry if this is an inappropriate subject... Seems a good idea to me. But why not add RCS support as an option (say '-r')? A lot of people tend to use '@(#)' in shell scripts and such as a marker, whether or not they use SCCS. While we're at it, why not implement the '-s' option (was it?) which terminates the search after finding a single '@(#)' (or RCS equivalent)? -- Robert Nordier