info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: How to tell Pre commit script the exact File Name containing Spaces?


From: Paras jain
Subject: FW: How to tell Pre commit script the exact File Name containing Spaces?
Date: Fri, 1 Apr 2005 19:00:54 +0530

Dear List,
   When I commit a file (which is having spaces in it's name), CVS checks for 
any pre commit scripts and passed arguments to that scripts which includes the 
file names to be checked in.

Now I want to parse those file names in my Pre commit scripts but because file 
name contains spaces, I could not parse the exact file names! If a file name is 
"DRN 106.doc"  I will get there DRN and 106.doc. I am parsing the file names in 
my pre commit scripts as "for file in $@"..... And I get DRN first and then 
106.doc, but I want DRN 106.doc? 

Is there any way to tell pre commit script the exact file names with spaces?

Am Using CVS 1.11.17 on LINUX ES 3.



--
Best Regards
Paras Jain
_____________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]