I'm not sure how to do a for loop using fish shell. I keep having to drop out of fish to run it in bash.
take this for example:
for i in $(cat subdomains); do curl $i | html2text >> websites
I get:
fish: $(...) is not supported. In fish, please use '(cat)'.
for i in $(cat subdomains); do curl $i | html2text >> websites
^
for i in (cat subdomains); curl $i | html2text; end >> websites
is the answer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With