*BSD News Article 14972


Return to BSD News archive

Xref: sserve comp.os.386bsd.development:531 comp.os.linux:35607
Newsgroups: comp.os.386bsd.development,comp.os.linux
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!engr.uark.edu!cseg03.engr.uark.edu!dws
From: dws@cseg03.engr.uark.edu (David W. Summers)
Subject: Re: PLEA across the board.
Message-ID: <1993Apr23.032200.8179@cseg03.engr.uark.edu>
Sender: netnews@engr.uark.edu (NetNews Administrator)
Nntp-Posting-Host: cseg03.engr.uark.edu
Organization: University of Arkansas
References: <jmonroyC5rz7x.LA1@netcom.com> <C5t95t.Ft3@sugar.neosoft.com> <SCT.93Apr21213242@damsay.dcs.ed.ac.uk>
Date: Fri, 23 Apr 1993 03:22:00 GMT
Lines: 44


To: sct@dcs.ed.ac.uk
Subject: Re: PLEA across the board.
Newsgroups: comp.os.386bsd.development,comp.os.linux
References: <jmonroyC5rz7x.LA1@netcom.com> <C5t95t.Ft3@sugar.neosoft.com> <SCT.93Apr21213242@damsay.dcs.ed.ac.uk>

In comp.os.linux you write:

>In article <C5t95t.Ft3@sugar.neosoft.com>, peter@NeoSoft.com (Peter da Silva) writes:
>
>> Put a string in that can be grepped for with "what". Right now, the
>> output from "what" is a little verbose (it gives you the version
>> number of every module in the file), but a "what -q" that just gives
>> strings flagged with a "program version number" would be a trivial
>> enhancement, then you could do "what /bin/*" and see what version of
>> *everything* you're using.
>
>> Much better than adding an option (that might conflict with existing
>> options) to every program.
>
>Why not just do it the RCS way, and have a "$Id:$" string in any
>modules you want to identify.  This way, the information is
>automatically kept uptodate by RCS or CVS, and you can use the
>existing "ident" command from RCS to identify both source and code
>(assuming you have $Id$ string constants in your modules).
>
>Cheers,
> Stephen Tweedie.
>---
>Stephen Tweedie <sct@uk.ac.ed.dcs>   (Internet: <sct@dcs.ed.ac.uk>)
>Department of Computer Science, Edinburgh University, Scotland.

I have a short program that will search for both "what" (SCCS) strings
and "ident" (RCS) strings at the same time.  I wrote it a few years ago
as I began switching over to RCS from SCCS.  I can e-mail or post it if
anyone is interested.  I find it quite handy.

   - David Summers
   (dws@engr.uark.edu)

-- 
                         "Never under-estimate the bandwidth of a station-wagon
David Summers             full of tapes, hurtling down the highway."
dws@engr.uark.edu         - Tanenbaum, "Computer Networks"