【发布时间】:2014-06-05 22:40:46
【问题描述】:
我正在尝试使用 Torrent-Video-Player 脚本,但它不适用于包含空格的文件。这是一个 Nautilus 脚本。
#!/bin/bash
xterm -e "peerflix "$1" --vlc"
“test.torrent” -> 好的
“test test.torrent”-> 无法执行 peerflix 测试:找不到这样的文件或目录
【问题讨论】:
-
为什么有嵌套引号?
标签: bash command-line-arguments space