david:
we ran into the same problem when we ported some hpux programs to linux. what
we did is made a perl wrapper for the string command. a simple way to do not
write a perl program is to
strings filename | grep '\$Revision:'
for instance, i put your message into a file named test and ran
On Tuesday 13 November 2001 07:30, Avrahami, David pronounced:
> Hi
> In digital unix I use "what" command with this printout:
> trm245 # what /bin/ls
> /bin/ls:
> $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date:
1995/09/06
> 19:5
> 4:27 $
> $RCSfile: ls.c,v $ $Revision: 4.
On Wed, Nov 14, 2001 at 04:56:21PM +1000, Matthew Melvin wrote:
> I'm not familar with 'what' but it looks like it's just seeking out the RCS
> identifiers hidden in the binaries...
SCCS strings.
> 'ident' does this on linux..
Yes. Equivalent. And just as unreliable.
Cheers,
--
Dave
On Tue, 13 Nov 2001 at 5:30pm (+0200), Avrahami, David wrote:
> Hi
> In digital unix I use "what" command with this printout:
> trm245 # what /bin/ls
> /bin/ls:
> $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06
> 19:5
> 4:27 $
> $RCSfile: ls.c,v $ $Revision: 4.