i made library that does maybe a bit more than you need, but it can handle this 
case [https://github.com/SolitudeSF/shlex](https://github.com/SolitudeSF/shlex)

Reply via email to