Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/357.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
elisp相当于python shlex.split?_Python_Elisp_Shlex - Fatal编程技术网

elisp相当于python shlex.split?

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\”某些文件)

我需要在elisp中解析命令行,类似于:

(shlex-split "command \"Some file with spaces\" someother\ quote")
;;That gives ("command" "Some file with spaces" "someother quote")
如何以简单的方式完成此任务?

(拆分字符串并用空格“someother”取消“command\”某些文件)