MrC;444179 Wrote: 
> > 
Code:
--------------------
  >   > 
  > 
  > my $shell_metas_in_dq = qr/[`\$]/;
  > 
  > $quotedsrc  =~ s/($shell_metas_in_dq)/\\$1/go;
  > $quoteddest =~ s/($shell_metas_in_dq)/\\$1/go;
  > 
--------------------
> > 
I used this version of the modification to catch $ signs as well and
I've just verified that it's working fine on Windows and Linux with both
backticks and dollar signs, so I'm very happy with the solution.


-- 
paulster
------------------------------------------------------------------------
paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073
View this thread: http://forums.slimdevices.com/showthread.php?t=14697

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping

Reply via email to