suppress RCS messages


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers suppress RCS messages
# 1  
Old 04-01-2012
suppress RCS messages

ci filename

This command displays a message. I don't want it to. How can I keep RCS from doing so?
# 2  
Old 04-01-2012
have you tried ci filename 1>/dev/null
# 3  
Old 04-01-2012
Have you tried the -q option of ci?
# 4  
Old 04-01-2012
Moderator's Comments:
Mod Comment This thread was merged
This User Gave Thanks to Scrutinizer For This Post:
# 5  
Old 04-03-2012
-q[rev]
quiet mode; diagnostic output is not printed. A revi-
sion that is not different from the preceding one is
not deposited, unless -f is given.

I guess, -q just keeps output from coming out whenever A revi-
sion that is not different from the preceding one is
not deposited, unless -f is given.
because ci -q filename_with_changes gives ci -q a
enter log message, terminated with single '.' or end of file:
>>
and waits for a .
I want to remove the rcs output and simulate the .
I'm not sure if there is source code i need to look at or if I can do it without the rcs source code. I've looked for the rcs source code and didn't turn up anything. . .

---------- Post updated at 11:59 PM ---------- Previous update was at 11:57 PM ----------

Code:
#!/usr/bin/ksh
ci a 1>/dev/null

unfortunately doesn't work. so there's something to that, but I'm not sure. I'd have to think about that one.
# 6  
Old 04-03-2012
Code:
ci -m"Your log message" filename

It's conventional to put the program release details in "Your log message".
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tcsh: How to suppress error messages.

Hallo, I wrote some script: 95% of the script's output consists of error messages like "mkdir: cannot create directory ‘final': File exists Exit 1" and "rm: No match. Exit 1". These messages are not harmful at all, but they make the output almost unreadable. How can I get rid of... (5 Replies)
Discussion started by: DanielDD
5 Replies

2. UNIX for Dummies Questions & Answers

pine email tool suppress prompt to save read messages

Could somebody please advise about how to configure pine/alpine so that on exit it doesn't prompt me to save read messages? Thanks (3 Replies)
Discussion started by: LeoKSimon
3 Replies

3. UNIX for Dummies Questions & Answers

RCS Issue

Hi there, I am trying to utalise RCS on unix. I am including the following tags in my source code for RCS to populate based on rlog. #$Author:$ #$Log:$ Everything i have read on the "co" man page of RCS indicates that the lines from the Log will be populated in the source file using the same... (0 Replies)
Discussion started by: cdoyle
0 Replies

4. Solaris

Solaris Boot Problems, random messages [/etc/rcS: /etc/dfs/sharetab: cannot create]

Hello All, I have all of a sudden developed issues with booting up one of my Solaris Servers. Upon a routine reboot, I was faced with the following errors: Feb 1 07:56:44 sco1-au-tci scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd0): Feb 1 07:56:44 sco1-au-tci Error for Command: read(10)... (9 Replies)
Discussion started by: ranjtech
9 Replies

5. Shell Programming and Scripting

How to suppress error messages in script

I am getting the following upon cat a file which is not present in directory. "cat: cannot open test1.txt" I need to process files and I want that this message should be suppressed. thx (5 Replies)
Discussion started by: helper2007
5 Replies

6. UNIX for Dummies Questions & Answers

Rcs

does anyone know if RCS is part of UNIX? Does a copy come with all UNIX systesm? Is it a seperate program? Is it purchased? Or is RSC a freeware program downloaded for everyone to use? (3 Replies)
Discussion started by: rtoba
3 Replies

7. 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

8. UNIX for Dummies Questions & Answers

RCS Question

I am a new user. Can anyone tell me where I can get documentation on the RCS feature? Thanks (1 Reply)
Discussion started by: Terry
1 Replies
Login or Register to Ask a Question