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 the above 
againt it:

$ strings test | grep '\$Revision'
>         $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06
>         $RCSfile: ls.c,v $ $Revision: 4.3.23.6 $ (OSF) $Date: 1995/12/18

hope this helps...

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.3.23.6 $ (OSF) $Date: 1995/12/18
> 04:11:0
> 0 $
> 
> Do you know which command replace it in Linux?
> David Avrahami
> Email: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 

-- 
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"
Current date: 33:6:20::317:2001

Minnesota --
        home of the blonde hair and blue ears.
        mosquito supplier to the free world.
        come fall in love with a loon.
        where visitors turn blue with envy.
        one day it's warm, the rest of the year it's cold.
        land of many cultures -- mostly throat.
        where the elite meet sleet.
        glove it or leave it.
        many are cold, but few are frozen.
        land of the ski and home of the crazed.
        land of 10,000 Petersons.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to