- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sccs identification keywords
Operating System - HP-UX
1819870
Members
2507
Online
109607
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
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
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
11-01-2005 07:14 AM
11-01-2005 07:14 AM
We have a script to put into sccs. One of the lines of the script is: TS=`date "%Y%m%d"` The problem is sccs is ready %Y% as an ident keyword. How can I get sccs to not touch the command when I put the shell script into sccs?
Solved! Go to Solution.
- Tags:
- SCCS
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:34 AM
11-01-2005 07:34 AM
Solution
Well, %Y% is certainly one of the values that SCCS's get command recogizes. My only suggestion is to outbushwhack it via this subterfuge:
TS=`date "+%Y%m%d"`
becomes:
typeset F1="%Y"
typeset F2="%m" # eventhough these are not 'get' tokens
typeset F3="%d" # nor these
TS=$(date "+${F1}${F2}${F3}")
I intentionally "improved" your deprecated backticks syntax.
TS=`date "+%Y%m%d"`
becomes:
typeset F1="%Y"
typeset F2="%m" # eventhough these are not 'get' tokens
typeset F3="%d" # nor these
TS=$(date "+${F1}${F2}${F3}")
I intentionally "improved" your deprecated backticks syntax.
If it ain't broke, I can fix that.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP