Need Help on File processing

view story

http://www.unix.com – I have a shell script, which calls number of other shell scripts and some of these shell scripts will call some other shell scripts. The same is as follows Quote: mainksh.ksh [step1]="$RUN_DIR/calling1.ksh" [step2]="$RUN_DIR/calling2.ksh" "$SUB_DIR/sub/v1/calling21.ksh" "$RUN_DIR/calling3.ksh" calling1.ksh "$RUN_DIR/$SUB_DIR/calling101.ksh" calling101.ksh "$RUN_DIR/$SUB_DIR/calling1011.ksh" I was trying to write shell script which will be return the output in the below format I need (HowTos)