elisp相当于python shlex.split?
我需要在elisp中解析命令行,类似于:elisp相当于python shlex.split?,python,elisp,shlex,Python,Elisp,Shlex,我需要在elisp中解析命令行,类似于: (shlex-split "command \"Some file with spaces\" someother\ quote") ;;That gives ("command" "Some file with spaces" "someother quote") 如何以简单的方式完成此任务?(拆分字符串并用空格“someother”取消“command\”某些文件)
(shlex-split "command \"Some file with spaces\" someother\ quote")
;;That gives ("command" "Some file with spaces" "someother quote")
如何以简单的方式完成此任务?(拆分字符串并用空格“someother”取消“command\”某些文件)