I need to write a shell script to check the existence of certain CVS tag in the repository, and do different things depending on the result. So hence is my question: How to check for CVS tag existence and parse the result in shell script?
A:
Well, assuming you have all the permissions/credentials, you can check for a cvs tag in the following way:
cvs status <filename> | grep <tagname>
pavanlimo
2010-08-19 17:44:35