Does anyone know how to get these two output lines into one colon ':' separated line with some unix command? Maybe nawk. I've tried to read the nawk and awk man pages but I don't get it right. Are these commands the one to use?
Output from find command:
#
/sw/tools/matlab/7.0.1/man
/sw/tools/gnat/5.01a/man
#
I would like to get it like this:
/sw/tools/matlab/7.0.1/man:/sw/tools/gnat/5.01a/man
Is awk the command to pipe the output to, and if so, how can I solve this?
Thanks to You that replys...