- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lib version
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2005 09:40 PM
тАО07-10-2005 09:40 PM
lib version
How find out the system operation version of my lib and object (.a and .o) belongs?
there is a command or same like that?
[]┬┤s
STH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2005 10:18 PM
тАО07-10-2005 10:18 PM
Re: lib version
file and what.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2005 10:50 PM
тАО07-10-2005 10:50 PM
Re: lib version
file show me just version of PA-RISC, and what show me nothing !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2005 10:56 PM
тАО07-10-2005 10:56 PM
Re: lib version
Then I hope that lib doesn't have the version tag associated with it.
Becasue if it had, then it would be displayed by the "what" command.
There might be any other option not in my knowledge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2005 01:53 PM
тАО07-11-2005 01:53 PM
Re: lib version
What exactly you are looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2005 08:57 PM
тАО07-11-2005 08:57 PM
Re: lib version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2005 09:59 PM
тАО07-11-2005 09:59 PM
Re: lib version
what just scans the binary for prefined patters, as used by the SCCS source code control system. Like tags.
Other systems that leave tags are cvs, svk, rcs, ...
If 'what' doesn't give you version info, you can see if your system has 'ident', which tries to grab other known version tags
If you do not have ident, it's easy to write that in perl:
--8<---[code]
#!/usr/bin/perl -n044
# $Header: perl version of ident (RCS) $
# $Date: 13 Oct 1999 $
# $Revision: v 1.0 $
# $Author: H.Merijn Brand $
# $Id: H/HM/HMBRAND $
# $State: Stable $
m/^( Author
| Date
| Header
| Id
| Locker
| Log
| RCSfile
| Revision
| Source
| State
):/x and print " $/$_\n";
[/code]-->8---
If all these fail, you can do
# strings file | less
(replace 'less' with your favourite pager)
Enjoy, Have FUN! H.merijn