How to paras such echo string effection?

Kevien Lee ironpythonster at gmail.com
Tue Oct 17 03:44:34 EDT 2006


Hi everyone,

When i decide to paras a string,which return from running a CVS command,it's
amaze that i want to get some file of the echo string ,how to make paras
process more effect?

the problem detail as follow that:

run command:"cvs  status -r" it will return all the file list in as follow?


===================================================================
File: file01.xls Status: Up-to-date

   Working revision: 1.1
   Repository revision: 1.1 /msg/file01.xls,v
   Sticky Tag:  (none)
   Sticky Date:  (none)
   Sticky Options: -kb

cvs status: Examining 20060815
===================================================================
File: file02.xls Status: Up-to-date

   Working revision: 1.1
   Repository revision:/msg/file02.xls ,v
   Sticky Tag:  (none)
   Sticky Date:  (none)
   Sticky Options: -kb

cvs status: Examining 20060816
===================================================================

Now ,i just what to know the file of "Status",if paras all should be

coast expenses,is there any effect way?

PS:is there any python lib for CVS ?



Thanks

Best regards

Kevin Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061017/5ad3010a/attachment.html>


More information about the Python-list mailing list