gpt4 book ai didi

shell - 为什么 `help format-list` 与 `format-list | help` 不一样?

转载 作者:行者123 更新时间:2023-12-03 01:22:01 27 4
gpt4 key购买 nike

help format-list输出格式列表的帮助。
format-list | help输出帮助(get-help)。

最佳答案

该|或“管道”运算符将一个操作的输出重定向到另一个。因此,在这种情况下,您正在调用格式列表,然后将其输出重定向为帮助参数。 help 不知道如何处理该参数,因此它进入默认行为(help for help)。

关于shell - 为什么 `help format-list` 与 `format-list | help` 不一样?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10626590/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com