Connect anonymous functions to the stdout of the Unix tool