Sponsored Content
Operating Systems Solaris Explain @(#)cshrc 1.11 89/11/29 SMI Post 302843471 by fgrirx on Tuesday 13th of August 2013 12:09:32 PM
Old 08-13-2013
Explain @(#)cshrc 1.11 89/11/29 SMI

What does ' @(#)cshrc 1.11 89/11/29 SMI ' mean?
Can someone please deconstruct and explain the parts?
Code:
# @(#)cshrc 1.11 89/11/29 SMI

It is at the top of a the .cshrc of a new Solaris account I am working on.
I am familiar with using the first line of a script for setting the program/shell to use. Example: #!/bin/csh or #!/bin/sh or #!/ben/perl.
I am also familiar with leaving the first line blank or adding a comment. For .cshrc (opposed to my_script.csh) I just start with a # comment line.

Searching the internets, I see lots of examples of .cshrc posted that begin with this line, but I have not found anybody who explains what it is doing or where it comes from. The best I tell, it is just a comment. But why does it appear at the beginning of so many .cshrc files?

Last edited by fgrirx; 08-13-2013 at 07:02 PM.. Reason: bad grammer and misspelling
 
All times are GMT -4. The time now is 11:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy