[TriLUG] Equivalent to Solaris "what" command

Greg Brown gwbrown1 at gmail.com
Tue Feb 26 11:45:26 EST 2008


What ain't no country I ever heard of!  They speak English in What?

On Tue, Feb 26, 2008 at 11:38 AM, Scott Lambdin <lopaki at gmail.com> wrote:

> Hmm - maybe try "apropos SCCS" on linux
>
> from man page on sol9:
>
>
> NAME
>     what - extract SCCS version information from a file
>
>
> --Scott
>
>
> On 2/26/08, Brian Henning <Brian.Henning at datadirect.com> wrote:
> >
> > Hi Gang,
> >
> > A friend of mine is asking about the "linux equivalent of the what
> > command on Solaris."  Apparently, there's a command included with the
> > Solaris C compiler called "what", which can extract information from a
> > binary file about source code revisions, for example:
> >
> > $ what libodbc.so
> > libodbc.so:
> >          qeunix.hpp $Revision:   1.3  $,$Date::   Dec 05 20$
> >          ucnvconv.hpp     $Revision: 1.4 $     $Date:: Apr 03 2006$
> >          bug.hpp     $Revision: 1.1 $     $Date:: Dec 04 2006$
> >          noansi.hpp     $Revision: 1.0 $     $Date:: Oct 07 2005$
> >          bos.hpp     $Revision: 1.17 $     $Date:: Jun 27 2007$
> >                [...]
> >
> > This strikes me as a compiler feature.  Googling with the word "what" is
> > not a very efficient endeavor, so I thought I would ask here.  Does GCC
> > include such a feature, and if so, how is it used?
> >
> > Many thanks,
> > ~Brian
> >
> > ----------------
> > Brian A. Henning
> >   DataDirect
> > Support Engineer
> > 888-332-6797
> > ----------------
> >
> >
> > --
> > TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list