kind hint : no need of cat, can use < input command > output in shell.
< input command > output
Done, thanks ;)