2

Same question as How can I send stdout to multiple commands? but for fish shell.

  • You'll use the psub command instead of the bash >(...) syntax – glenn jackman Jul 1 '17 at 22:32
  • @glennjackman can you provide the fish equivalent of bash cat file.txt | tee >(pbcopy) >(do_stuff) >(do_more_stuff) | grep errors? – user699151 Jul 2 '17 at 4:56
  • I linked to the documentation. Is it unclear? – glenn jackman Jul 2 '17 at 11:10
  • @glennjackman From the documentation I know how to replace <(x) with (x | psub) but I have no idea how to replace >(x). Anyway why don't you post you comment as an answer? – user699151 Jul 3 '17 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.