SCCS removes %Y% string

From: Doug Floer (dfloer@topsoft.ca)
Date: Tue Nov 12 2002 - 01:02:36 EST


Ok, here's an interesting one that you can all try at home. For some
reason, an sccs create or get removes the "%Y%" from a file. Sccs edit
returns it intact. If I change "%Y%" to "%y%", it works fine. Any
ideas why or how to workaround?

Thanks,
Doug

--
# echo "date '+%Y%m%d'" > test.sh
# cat test.sh
date '+%Y%m%d'
# sccs create test.sh
test.sh:
1.1
1 lines
# cat test.sh
date '+m%d'
# sccs edit test.sh
1.1
new delta 1.2
1 lines
# cat test.sh                                                       
date '+%Y%m%d'
# sccs delget test.sh
comments? 
1.2
0 inserted
0 deleted
1 unchanged
1.2
1 lines
# cat test.sh
date '+m%d'
# sccs edit test.sh
1.2
new delta 1.3
1 lines
# echo "date '+%y%m%d'" > test.sh
# sccs delget test.sh                                         
comments? 
No id keywords (cm7)
1.3
1 inserted
1 deleted
0 unchanged
1.3
1 lines
No id keywords (cm7)
# cat test.sh
date '+%y%m%d'
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:16 EDT