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 way?
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 way?
Copyright © 2021 Jogjafile Inc.
(split-string-and-unquote "command \"Some file with spaces\" someother\ quote")