hi,
I have a simple ksh script that has 3 functions, each one calls vdump to dump a fileset.
I added tee -a to capture output from the execution of the functions, vdump displays output to the screen, but doesn't write to my defined variable $SAVED_LIST
{
echo "\n\n[ $(basename $0) - $(date) ] \n"
get_vdump_usr
get_vdump_var
get_vdump_root
} | tee -a $SAVE_LIST
Can anyone suggest anything to fix this ?
I have a simple ksh script that has 3 functions, each one calls vdump to dump a fileset.
I added tee -a to capture output from the execution of the functions, vdump displays output to the screen, but doesn't write to my defined variable $SAVED_LIST
{
echo "\n\n[ $(basename $0) - $(date) ] \n"
get_vdump_usr
get_vdump_var
get_vdump_root
} | tee -a $SAVE_LIST
Can anyone suggest anything to fix this ?