PDA

View Full Version : porting old scripts



conradin
August 21st, 2012, 12:56 AM
Hi all,
I am porting some old scripts, and one thing that I have seen is a colon
at the start of the script. From what I've read, the colon is a style of comment, but may have some other implications... of which I'm not sure about.

In some of the scripts, the first line is:
CODE]: '@(#)scriptname.sh 18.5'[/CODE]

What I want to know is the importance of @(#) in the comment? What is this nonsense?

steeldriver
August 21st, 2012, 02:48 AM
looks like part of an SCCS Id / what string ?

conradin
August 21st, 2012, 06:56 AM
I think you're right! Though i had never previously heard of an SCCS ID.
: '@(#)lsetacq.sh 18.5'
is that what you mean by the string?