In Bash, you can do the following to send a process's output to another process's STDIN while printing it to console.
echo 'Hello, world!' | tee >($command)
What is the equivalent in Fish?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community