I am used to use what to find out some version string in my program, which is normal defined as a string in the c++ code, starting with “@(#)”.
Now I cannot find it in Linux. Can anyone tell me what I am supposed to do? Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
whatcommand is part of the Source Code Control System (SCCS), which is not commonly available on Linux (if there is a Linux version at all). You can try to emulate it with thestringscommand:Reimplementations of
whatare available in CSSC (an SCCS-to-modern version control conversion package) and in BSD (source code).