Date: October 11, 2022 Categories: Development Tags: bash Comments: 0 Pipe stdin to custom function https://www.baeldung.com/linux/pipe-output-to-function#:~:text=A%20pipe%20in%20Bash%20takes,in%20at%20the%20command%20line.&text=Guiding%20principle%20%231%3A%20Commands%20executed,the%20process%20that%20starts%20them. [ ! -t 0 ] && set -- "$(cat)" Leave a Reply Cancel replyYour email address will not be published.Comment Name Email Website Save my name, email, and website in this browser for the next time I comment.