output data passing done in bash