Re: [PATCH] ecaconvert: escape input filenames
Alessandro Ghedini <[email protected]> Wed, 11 Dec 2013 18:12:10 +0100
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <20131211171210.GA1927@kronk> |
On Thu, Dec 05, 2013 at 09:55:46PM +0100, Alessandro Ghedini wrote:
> Hi,
>
> the attached patch, adds escaping of input filenames to ecaconvert (it simply
> replaces " " and "," with "\ " and "\\,").
>
> The code seems to work nicely, but is rather stupid and certainly not the most
> beautiful I've ever written (in my defence, C++ isn't really my thing), so if
> anyone has a better idea, please come forward.
>
> Also, I added it directly to ecaconvert instead of ecicpp_add_file_input()
> because I didn't want to risk breaking other stuff, but I can easily change
> this if desired.
Ping?
--
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSqJzqAAoJEK+lG9bN5XPLPhkQAKT0mIzyqLQrnfFAVYNe/Y1e xgEcArlU7I5fsByASgHuGlEic/Sm1qur4CS2bcgc9QmRbWCnyCGcStIoOFxf7SFb mz/hLDSYD/ZU/FRLANy+nIheTbDccVkG0XFq/WeHp0YtIt9/2UCwHNRzo8sIoAqJ HbLnMADtIHF67GO+A6lT7zQAeiPMPKioPeJhz4hdJ1bNlQm3OQ4ShWpEzjh4lr6D YG/JA7uYGxnUQFskScbD+vwzFYSqqoLOCcTs2/Udl1zH3IRAoTd8N/wtVvsNRNUA 1jTNxlpw3fEzKLySXr1hlnoTOMG89X3EunKM1UtNpZY20Qj/9o6+p0kuvQDUQEie xGqBppqGnHlkzVbLnscW0xjYDYbWLoHDmU9Jl5piHAEkqqPagR1JwNd27X2SGZvw SkqIx8t3ZSSxFyaFakPaafWjv8lXZLBmkVUcdokCmks69gGGlavAvnOC6litZceJ pjjeVCeNpH1EIQvbs01jDX/sZOGEm3ih4RfHRkTlFXBe4IklSU/mstoccyqXf5jZ kHGShaxqb/DtksVvXKKm6nLjEQ7XduhCrSqjR5Ve2cHHcBbW/bwyf3lDFxNKsDne p51X6ZjOdDjTZcdV9LMAg1H6CAqi2tqQcV7hPYbOo5pcrg8b7PxHagBOs+XM2I83 cGOEl5kDsZZ4ppi5w94O =dDFJ -----END PGP SIGNATURE-----