My requirement is, is there a way to display this abcd in standard output also alongside of writing into a_log.txt? Please help me out in this. Appreciate your help.
But the problem is the script (here b.sh) is a common script that is called by a lot of scripts that are coded in this way. It is difficult to modify those scripts. So please suggest me if there is a way to do that in b.sh itself.