HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RCS $Log Output does not use # character for c...
Operating System - HP-UX
1831549
Members
3593
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-19-2002 04:14 AM
07-19-2002 04:14 AM
I've included the $Log keyword in my perl programs so that the revision history will show up in the program. Checking in/out the file fails to include a pound (#) sign before each line of change text.
Is there anything I can do to tell RCS to always use the pound sign for the comment character?
I have other data files that I want to also include the pound sign as a comment as output from $Log. Can I change the default for these also?
Changing the file to remove the .pl or any other .suffix will return to using the pound sign.
Jack...
Is there anything I can do to tell RCS to always use the pound sign for the comment character?
I have other data files that I want to also include the pound sign as a comment as output from $Log. Can I change the default for these also?
Changing the file to remove the .pl or any other .suffix will return to using the pound sign.
Jack...
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2002 10:08 AM
07-20-2002 10:08 AM
Solution
You can use the 'rcs -c' command to change the comment leader for a source file. It has deftault for a number of extensions, I guess .pl is not one of them.
Here is a list of known suffixes from the rcs man page:
c c '*'
C C Header '*'
sh shell '#'
s Assembly '#'
p pascal '*'
r ratfor '#'
e efl '#'
l lex '*'
y yacc '*'
yr yacc-rarfor '*'
ye yacc-efl '*'
ml mocklisp ';'
mac macro ';'
f fortran 'c'
ms ms-macros '\'
me me-macros '\'
"" empty suffix '#'
nil unknown suffix '""'
Here is a list of known suffixes from the rcs man page:
c c '*'
C C Header '*'
sh shell '#'
s Assembly '#'
p pascal '*'
r ratfor '#'
e efl '#'
l lex '*'
y yacc '*'
yr yacc-rarfor '*'
ye yacc-efl '*'
ml mocklisp ';'
mac macro ';'
f fortran 'c'
ms ms-macros '\'
me me-macros '\'
"" empty suffix '#'
nil unknown suffix '""'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2002 07:23 PM
07-20-2002 07:23 PM
Re: RCS $Log Output does not use # character for comments for files with .pl extension
I was hoping I could add the suffix or have rcs always default to #.
I got rcs -c"# " to work. It was a little messy however because I needed to go back and delete the previous comments that were not flagged.
jack..
Thanks ...
I got rcs -c"# " to work. It was a little messy however because I needed to go back and delete the previous comments that were not flagged.
jack..
Thanks ...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP