-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jan 24, 2011 at 05:27:11PM +0530, Agnello George wrote:
> i got a file like this and i need add it into my svn
> 
> admin/upload_data/FINAL  leg  list  19_01_2010 to  agar  (Merged data in
> one).xls
> 
> i as able to add other files with space using the following command :
> 
>  svn st |grep ? |cut -c8- |sed 's/ /\\ /g' |xargs svn add
> 
> however there are some special characters like ( ) +#@  that svn cannot
> understand as the full path of  the file .
> 
> can some one help me in this in perl or in shell .

If in perl, then you may want to pass the arguments to the system
command as an array, so:

  @arg = [ "svn", "add", "File with spaces" ];
  system( @arg );

Hope this helps

- -- 
Best regards,
Ed http://www.s5h.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk09300ACgkQ4dyr7s6PRYil6wCfc9p+peQ3pUyiAMCHDrS/XeGI
QN4AoJdHUjWPLWngvO7yefCqzVXcMAHn
=g9Zc
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to