what Id command

On Unix boxes, I’ve used the string
static char ident[] = “@(#) identification info”;
to identify versions of executables,object files and source code.

The sccs command “what” would parse through the files and print the strings
that had the right key, i.e. @(#).

Is there any comparable command in QNX?

Thanks,
David Kuechenmeister

David Kuechenmeister <david.kuechenmeister@viasat.com> wrote:
DK > On Unix boxes, I’ve used the string
DK > static char ident[] = “@(#) identification info”;
DK > to identify versions of executables,object files and source code.

DK > The sccs command “what” would parse through the files and print the strings
DK > that had the right key, i.e. @(#).

DK > Is there any comparable command in QNX?

DK > Thanks,
DK > David Kuechenmeister

QNX4 has the ‘ident’ utility. But QNX6 seems to have forgotten it.
Too bad. Maybe someone can post a port. It shouldn’t be that hard.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net

I think it’s part of the rcs package, isn’t it?

Bill Caroselli <qtps@earthlink.net> wrote:

David Kuechenmeister <> david.kuechenmeister@viasat.com> > wrote:
DK > On Unix boxes, I’ve used the string
DK > static char ident[] = “@(#) identification info”;
DK > to identify versions of executables,object files and source code.

DK > The sccs command “what” would parse through the files and print the strings
DK > that had the right key, i.e. @(#).

DK > Is there any comparable command in QNX?

DK > Thanks,
DK > David Kuechenmeister

QNX4 has the ‘ident’ utility. But QNX6 seems to have forgotten it.
Too bad. Maybe someone can post a port. It shouldn’t be that hard.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net


cburgess@qnx.com

On Thu, 14 Aug 2003 15:22:34 -0400, David Kuechenmeister wrote:

On Unix boxes, I’ve used the string
static char ident[] = “@(#) identification info”;
to identify versions of executables,object files and source code.

The sccs command “what” would parse through the files and print the strings
that had the right key, i.e. @(#).

Is there any comparable command in QNX?

What’s wrong with the following?

$ strings | grep “@(#)”

Or if you are really keen

$ strings | grep “@(#)” | sort | uniq

That’s what we use :slight_smile:

Rob Rutherford

It was too obvious and I don’t know all the QNX command line commands.

Thanks!
David

“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:trspeh4o963f$.18ni54olo2cgm.dlg@40tude.net

On Thu, 14 Aug 2003 15:22:34 -0400, David Kuechenmeister wrote:

On Unix boxes, I’ve used the string
static char ident[] = “@(#) identification info”;
to identify versions of executables,object files and source code.

The sccs command “what” would parse through the files and print the
strings
that had the right key, i.e. @(#).

Is there any comparable command in QNX?


What’s wrong with the following?

$ strings | grep “@(#)”

Or if you are really keen

$ strings | grep “@(#)” | sort | uniq

That’s what we use > :slight_smile:

Rob Rutherford