Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 bash 中,如果我键入一个命令foo bar <(qux),它将启动 foo 程序,其参数将是barand /dev/fd/63(或类似的东西)。
foo bar <(qux)
bar
/dev/fd/63
如果我输入一个命令foo "bar <(qux)",它将启动 foo 程序,它的参数将是bar <(qux).
foo "bar <(qux)"
bar <(qux)
如何使用单个参数启动 foo bar /dev/fd/63?
bar /dev/fd/63
只需更改一点引用:
foo "bar "<(qux)