Sponsored Content
Full Discussion: Help with SCCS
Top Forums UNIX for Dummies Questions & Answers Help with SCCS Post 34923 by Perderabo on Friday 21st of March 2003 01:23:25 PM
Old 03-21-2003
The delta command has a -y option that can be used to supply the comment. If you use the -y option to supply a cooment, delta doesn't also ask for a comment, it just used whatever you supllied as a argument to -y.

So you can write a script called "delta" that will ask for a comment. The script will perform whatever tests you think appropriate on the supplied comment. If it doesn't like the comment, it will ask again.

Once it has a comment that it likes, it will then call the real delta program. It will pass the real delta all of the arguments that were supplied to the wrapper script. And it will add a -y with the approved comment.

You need to make sure that the wrapper script is invoked when the user types "delta". This could be done by putting it earlier in the path than the real delta. Or you could give the users aliases that point to your script. You could also rename the real delta command to be real.delta or something.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with SCCS

I am having some problem while creating a new sccs file. During initial creation of the file the SCCS is not storing the file in actual format with the result that the SCCS file is different from my original file. Any way to avoid this?? Nitin (1 Reply)
Discussion started by: nitinmalik
1 Replies

2. UNIX for Dummies Questions & Answers

SCCS (Source Code)

Hello, I'm wondering if anyone out there have experience using the SCCS source code in Unix? If so, can you recommend a good (user friendly) SCCS book for beginner users. Thanks! (3 Replies)
Discussion started by: Mary
3 Replies

3. UNIX for Dummies Questions & Answers

Help With Sccs.

Hi , I am currently using Source Code Control System (SCCS) to keep track of my documents. There are several User that update the document. As we all know that after editing it prompts for the comment. But even if somebody just hits return it accepts it. I would like that after the... (1 Reply)
Discussion started by: rooh
1 Replies

4. HP-UX

Sccs

Hi Can i know what are the default Source code control system used by hp-ux 9.x,10.x and Solaris9 Regards Charles C. (0 Replies)
Discussion started by: charlcy
0 Replies

5. Solaris

Sccs

Hi Can i know what are the default Source code control system used by hp-ux 9.x,10.x and Solaris9 Regards Charles C. (1 Reply)
Discussion started by: charlcy
1 Replies

6. UNIX for Advanced & Expert Users

rcs,sccs

I am not really sure whether i am posting this question in the right forum.....Can someone tell me why I should go for a rational Clearcase version controller when I can use the version controllers 'rcs' or 'sccs' available in UNIX. I want to know the advantage of Rational over these two. Also, I... (2 Replies)
Discussion started by: Abhishek Ghose
2 Replies

7. UNIX for Dummies Questions & Answers

How to make sccs work

I am trying to use SCCS for project development . Can any one list out the basic setup nneded to be done for SCCS . I mean if I create a SCCS directory what all files to create on this . i don't have a root password of the system and I am not going to get one . I saw few post on this forum... (1 Reply)
Discussion started by: akrathi
1 Replies

8. HP-UX

SCCS problem when copying files

I have created a SCCS directory with version 1.1. It has say A.txt (for simplicity) Now updated files are present in other directory. If I copy A.txt it wont be effected in SCCS. How do I make this A.text to be version 1.2?? Please help! (3 Replies)
Discussion started by: superprogrammer
3 Replies

9. Shell Programming and Scripting

sccs get -ek command is throwing err

Hi, get -ek s.Communicator.java The difference between the current date and the creation date of the newest delta in the SCCS file is greater than 1 year. Make sure that the system date is set correctly. This message is only a warning. (co11) 14.3 ... (0 Replies)
Discussion started by: Shivaprasad BS
0 Replies

10. Shell Programming and Scripting

Problem with SCCS

I am having some problem while creating a new sccs file. During initial creation of the file the SCCS is not storing the file in actual format with the result that the SCCS file is different from my original file. (1 Reply)
Discussion started by: Allgemeine12
1 Replies
sccs-help(1)							   User Commands						      sccs-help(1)

NAME
sccs-help, help - ask for help regarding SCCS error or warning messages SYNOPSIS
/usr/ccs/bin/help [argument...] DESCRIPTION
The help utility retrieves information to further explain errors messages and warnings from SCCS commands. It also provides some informa- tion about SCCS command usage. If no arguments are given, help prompts for one. An argument may be a message number (which normally appears in parentheses following each SCCS error or warning message), or an SCCS com- mand name. help responds with an explanation of the message or a usage line for the command. When all else fails, try `/usr/ccs/bin/help stuck'. FILES
/usr/lib/help directory containing files of message text ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWsprot | +-----------------------------+-----------------------------+ SEE ALSO
sccs(1), sccs-admin(1), sccs-cdc(1), sccs-comb(1), sccs-delta(1), sccs-get(1), sccs-prs(1), sccs-prt(1), sccs-rmdel(1), sccs-sact(1), sccs- sccsdiff(1), sccs-unget(1), sccs-val(1), what(1), sccsfile(4), attributes(5) SunOS 5.10 24 Feb 1998 sccs-help(1)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy