![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tagging with Oracle and Ruby on Rails | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 02:10 AM |
| help me in sending parameters from sqlplus script to unix shell script | Hara | Shell Programming and Scripting | 2 | 01-29-2008 12:31 PM |
| Shell Script: want to insert values in database when update script runs | ring | Shell Programming and Scripting | 1 | 10-25-2007 12:06 AM |
| Modify Perl script to work with txt - Permissions script | joangopan | Shell Programming and Scripting | 1 | 09-12-2007 08:38 PM |
| ID3 tagging script | SimonDorfman | Shell Programming and Scripting | 4 | 04-11-2007 12:32 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
We have to tag all source code files to prepare a release kit. We have one CVS Project under which all files have to be tagged. We use the following cvs command to tag a specific version of a file: 'cvs rtag -r X.XX -F "newbuild" somefile' This command asks for the CVS Login password everytime executed. What I plan to is to minimize the manual tagging of files with the newbuild and just have a list of fil_name, version changed since the last build. file_list.csv ----------------- file_name,version ----------------- If we have the information in the following format, can write a shell script to tag all files against the version specified with the newbuild name. Note: The cvs commands asks for a password everytime it is executed. Can I pass the password just once? Thanks, Rahul. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I've found out that the expect utility can pass input to such commands through stored files.
Where can i get expect for Sun Solaris 5.8? Thanks, Rahul. |
|
#4
|
||||
|
||||
|
Hi Rahul,
Try this for i in * # or whatever list of filenames do cvs your_cvs_processing << EOF userid password EOF done
__________________
War doesnt determine who is right, it determines who is left |
||||
| Google The UNIX and Linux Forums |