Hi,
I have to use cat if just want to pass the stdin to stdout. But this
requires calling cat. Is there a more efficient way to just past stdin
to stdout?
/tmp$ cat test.sh
#!/usr/bin/env bash
function cmd {
cat
}
echo xxxx | cmd | cat
--
Regards,
Peng