I need to parse a command line in elisp, something like:
(shlex-split "command \"Some file with spaces\" someother\ quote")
;;That gives ("command" "Some file with spaces" "someother quote")
How can I accomplish this in a simple w开发者_运维问答ay?
(split-string-and-unquote "command \"Some file with spaces\" someother\ quote")
精彩评论