小编Row*_*Row的帖子

环形吊带用鱼壳

我不知道如何使用 Fish shell 进行 for 循环。我总是不得不放弃 Fish 来在 bash 中运行它。

以此为例:

for i in $(cat subdomains); do curl $i | html2text >> websites
Run Code Online (Sandbox Code Playgroud)

我得到:

fish: $(...) is not supported. In fish, please use '(cat)'.
for i in $(cat subdomains); do curl $i | html2text >> websites
         ^
Run Code Online (Sandbox Code Playgroud)

shell fish

5
推荐指数
1
解决办法
4438
查看次数

标签 统计

fish ×1

shell ×1